fixing: callback transaction

This commit is contained in:
ilham 2022-05-21 15:21:05 +07:00
parent e386f5c618
commit 5f0512e3ce

View File

@ -51,7 +51,7 @@ export class PpobCallbackController {
async getMetro(@Req() request: FastifyRequest) { async getMetro(@Req() request: FastifyRequest) {
const response = request.query; const response = request.query;
if (response['message'].toLowerCase().includes('cek')) { if (response['message'].toLowerCase().includes('cek tagihan')) {
if (response['status'] != 20) { if (response['status'] != 20) {
//TODO: UPDATE GAGAL //TODO: UPDATE GAGAL
await this.transactionService.updateBill( await this.transactionService.updateBill(