lowdefy/lowdefy

View on GitHub
packages/engine/src/Requests.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function callRequest has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Confirmed

  async callRequest({ actions, arrayIndices, blockId, event, requestId }) {
    const requestConfig = this.requestConfig[requestId];
    if (!this.context.requests[requestId]) {
      this.context.requests[requestId] = [];
    }
Severity: Minor
Found in packages/engine/src/Requests.js - About 1 hr to fix

    Function fetch has 28 lines of code (exceeds 25 allowed). Consider refactoring.
    Confirmed

      async fetch(request) {
        request.loading = true;
        const startTime = Date.now();
    
        try {
    Severity: Minor
    Found in packages/engine/src/Requests.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status