cityssm/faster-web-helper

View on GitHub
modules/purchaseOrderApprovals/handlers/post/doCreatePurchaseOrder.js

Summary

Maintainability
A
1 hr
Test Coverage

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

export default function handler(request, response) {
    const user = request.session
        .purchaseOrderApprovalUser;
    if (user.approvalMax <= 0) {
        response.json({

    There are no issues that match your filters.

    Category
    Status