From 02018c339d049711c4c5ea30fcfef1eb00e7b16e Mon Sep 17 00:00:00 2001 From: Tria Date: Fri, 5 Jun 2026 12:57:44 +0300 Subject: [PATCH] payment --- .../edr-freight-api/src/modules/payment/payment.controller.ts | 3 +-- .../modules/payment/webhooks/providers/telebirr.service.ts | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/apps/edr-freight-api/src/modules/payment/payment.controller.ts b/apps/edr-freight-api/src/modules/payment/payment.controller.ts index 9614d9517..8e9944c28 100644 --- a/apps/edr-freight-api/src/modules/payment/payment.controller.ts +++ b/apps/edr-freight-api/src/modules/payment/payment.controller.ts @@ -1,9 +1,8 @@ -import { Body, Controller, Get, NotFoundException, Param, ParseUUIDPipe, Post, Res } from "@nestjs/common"; +import { Controller, Get, NotFoundException, Param, ParseUUIDPipe, Post, Res } from "@nestjs/common"; import { PaymentService } from "./payment.service"; import { Public } from "@edr/api-common"; import { randomUUID } from "crypto"; import { Response } from "express" -import { UpdatePaymentStatusDto } from "./dto/update-payment-status.dto"; @Public() @Controller("payments") export class PaymentController { diff --git a/apps/edr-freight-api/src/modules/payment/webhooks/providers/telebirr.service.ts b/apps/edr-freight-api/src/modules/payment/webhooks/providers/telebirr.service.ts index cd734f81a..96b4c1f0d 100644 --- a/apps/edr-freight-api/src/modules/payment/webhooks/providers/telebirr.service.ts +++ b/apps/edr-freight-api/src/modules/payment/webhooks/providers/telebirr.service.ts @@ -1,4 +1,4 @@ -import { Injectable, Logger } from '@nestjs/common'; +import { Injectable, } from '@nestjs/common'; import { ConfigService } from '@nestjs/config'; import * as crypto from "crypto" import { TelebirrDto } from '../dto/telebirr.dto'; @@ -43,7 +43,7 @@ export class TelebirrWebhookService { } async handle(payload: TelebirrDto): Promise { - + console.log(payload) } } \ No newline at end of file