cityssm/faster-web-helper

View on GitHub
modules/purchaseOrderApprovals/database/createUser.js

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function createUser(user) {
    const database = sqlite(databasePath);
    const userRecord = database
        .prepare(`select isActive
        from Users
Severity: Minor
Found in modules/purchaseOrderApprovals/database/createUser.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status