diff --git a/src/controllers/05-quotation-controller.ts b/src/controllers/05-quotation-controller.ts index 4df4293..7da7cb4 100644 --- a/src/controllers/05-quotation-controller.ts +++ b/src/controllers/05-quotation-controller.ts @@ -1045,7 +1045,7 @@ export class QuotationFileController extends Controller { }, where: { id }, }); - if (!data) throw notFoundError("Payment"); + if (!data) throw notFoundError("Quotation"); await permissionCheck(user, data.registeredBranch); }