Update webhooks.controller.ts

This commit is contained in:
Abubeker Yasin
2026-06-04 10:38:11 +03:00
parent 26cec36685
commit 1784f05d31

View File

@@ -38,6 +38,11 @@ export class WebhooksController {
description: 'Webhook endpoint for Telebirr payment status updates. Used by Ethiopian passengers.'
})
async receiveTelebirr(@Body() payload: TelebirrWebhookPayload) {
this.logger.log(
`Telebirr webhook Called`,
);
try {
await this.telebirr.handle(payload);
} catch (err) {