This commit is contained in:
Emily
2025-04-25 19:20:13 +02:00
parent 82b0f6aac4
commit 6a157b81c9
5 changed files with 23 additions and 26 deletions

View File

@@ -41,7 +41,7 @@ export const ZBodyCreatePayment = z.object({
plan_id: z.number()
});
paymentRouter.post('/create', json(), async (req, res) => {
paymentRouter.post('/create_payment', json(), async (req, res) => {
try {
const createPaymentData = ZBodyCreatePayment.parse(req.body);