modules/purchaseOrderApprovals/database/createUser.ts
Function createUser
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function createUser(
user: Partial<PurchaseOrderApprovalUser> & { userName: string }
): boolean {
const database = sqlite(databasePath)