Template
1
0

feat: update payment views

This commit is contained in:
2025-12-06 20:42:10 +01:00
parent ce4d5ba013
commit 37164b560f
49 changed files with 1826 additions and 624 deletions

View File

@@ -30,7 +30,9 @@ export async function createLedger(values: LedgerInsert): Promise<string> {
})
.catch((error) => {
if (error instanceof Error && error.message === "missing_beneficiary") {
throw new BadRequestError(`Benficiary '${values.beneficiaryId}' does not exist`);
throw new BadRequestError(`Benficiary '${values.beneficiaryId}' does not exist`, {
input: "beneficiary",
});
}
throw error;
});