Template
1
0

feat: add payment module

This commit is contained in:
2025-12-05 01:56:42 +01:00
parent a818f3135a
commit be9b8e9e55
160 changed files with 8615 additions and 1158 deletions

View File

@@ -0,0 +1,12 @@
import { NotFoundError } from "@platform/relay";
import { getBeneficiaryById } from "../../../repositories/beneficiary.ts";
import route from "./spec.ts";
export default route.access("public").handle(async ({ params: { id } }) => {
const beneficiary = await getBeneficiaryById(id);
if (beneficiary === undefined) {
return new NotFoundError();
}
return beneficiary;
});