department-of-veterans-affairs/vets-website

View on GitHub
src/applications/representative-appoint/api/generatePDF.js

Summary

Maintainability
A
1 hr
Test Coverage

Function generatePDF has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const generatePDF = async formData => {
  const transformedFormData = pdfTransform(formData);

  const apiSettings = {
    mode: 'cors',
Severity: Minor
Found in src/applications/representative-appoint/api/generatePDF.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status