Shegsdev/Banka

View on GitHub
client/assets/js/queries.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function getAllUsers has 64 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function getAllUsers(config) {
    const url = new URL(env.url());
    fetch(`${url.href}/users/`, config)
    .then(response => response.json())
    .then(json => {
Severity: Major
Found in client/assets/js/queries.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status