modules/purchaseOrderApprovals/database/createPurchaseOrder.ts
Function createPurchaseOrder
has 43 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function createPurchaseOrder(
form: CreatePurchaseOrderForm,
user: PurchaseOrderApprovalSessionUser
): string {
const database = sqlite(databasePath)