department-of-veterans-affairs/vets-website

View on GitHub
src/applications/yellow-ribbon/api/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function fetchResultsApi has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const fetchResultsApi = async (options = {}) => {
  // Derive options properties.
  const city = options?.city;
  const contribution_amount = options?.contributionAmount;
  const mockRequest = options?.mockRequest;
Severity: Minor
Found in src/applications/yellow-ribbon/api/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status