refactor source code

This commit is contained in:
2024-10-29 17:42:54 +07:00
parent 3b23d9e0b7
commit 152bb50da8
83 changed files with 8473 additions and 7577 deletions

View File

@@ -1,29 +1,29 @@
import { Injectable, Logger } from '@nestjs/common';
import { Injectable, Logger } from '@nestjs/common'
import { PrismaService } from '../Prisma/prisma.service';
import { PrismaService } from '../Prisma/prisma.service'
@Injectable()
export class PayosService {
constructor(private readonly prisma: PrismaService) {}
async ping() {
return 'pong';
return 'pong'
}
async webhook(body: any, signature: string) {
Logger.log('Webhook received', body);
return body;
Logger.log('Webhook received', body)
return body
}
async createPaymentURL(body: any) {
return body;
return body
}
async cancelPaymentURL(body: any) {
return body;
return body
}
async refundPayment(body: any) {
return body;
return body
}
}