refactor: ( telebirr ) update the webhook to accept any request

This commit is contained in:
Abubeker Yasin
2026-06-04 10:15:20 +03:00
parent 1fbedff810
commit 26cec36685

View File

@@ -1,4 +1,4 @@
import { Body, Controller, Headers, HttpCode, HttpStatus, Logger, Post } from '@nestjs/common';
import {All, Body, Controller, Headers, HttpCode, HttpStatus, Logger, Post} from '@nestjs/common';
import { ApiOperation, ApiTags } from '@nestjs/swagger';
import {
TelebirrWebhookPayload,
@@ -31,7 +31,7 @@ export class WebhooksController {
private readonly waafi: WaafiWebhookService,
) {}
@Post('telebirr')
@All('telebirr')
@HttpCode(HttpStatus.OK)
@ApiOperation({
summary: 'Telebirr payment notification callback (Ethiopia)',