trezy/firebase-system-update

View on GitHub
src/helpers/api.js

Summary

Maintainability
A
1 hr
Test Coverage

Function apiFetch has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function apiFetch(route, options) {
    const parsedOptions = { ...options }
    const defaultOptions = {
        headers: {
            Accept: 'application/json',
Severity: Minor
Found in src/helpers/api.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status