fixing: callback transaction
This commit is contained in:
parent
fd47c34453
commit
e386f5c618
|
@ -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'].includes('CEK TAGIHAN')) {
|
if (response['message'].toLowerCase().includes('cek')) {
|
||||||
if (response['status'] != 20) {
|
if (response['status'] != 20) {
|
||||||
//TODO: UPDATE GAGAL
|
//TODO: UPDATE GAGAL
|
||||||
await this.transactionService.updateBill(
|
await this.transactionService.updateBill(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user