ForestAdmin/forest-express

View on GitHub
src/integrations/stripe/services/source-getter.js

Summary

Maintainability
A
1 hr
Test Coverage
F
11%

Function SourceGetter has 35 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function SourceGetter(Implementation, params, opts, integrationInfo) {
  const stripe = opts.integrations.stripe.stripe(opts.integrations.stripe.apiKey);
  let collectionModel = null;

  function getSource(customerId, objectId) {
Severity: Minor
Found in src/integrations/stripe/services/source-getter.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status