fix: wrong model error message thrown
This commit is contained in:
parent
1cf861d492
commit
5cf5e079fb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue