This commit is contained in:
Tria
2026-06-05 12:57:44 +03:00
parent c0dc9f5fc5
commit 02018c339d
2 changed files with 3 additions and 4 deletions

View File

@@ -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 {

View File

@@ -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<void> {
console.log(payload)
}
}