Merge branch 'development' of https://gitlab.com/empatnusabangsa/ppob/ppob-backend into devops-staging
This commit is contained in:
commit
85fda283db
|
@ -135,9 +135,9 @@ export class PpobCallbackController {
|
||||||
@Public()
|
@Public()
|
||||||
@Post('/hemat')
|
@Post('/hemat')
|
||||||
async getHemat(@Req() request: FastifyRequest) {
|
async getHemat(@Req() request: FastifyRequest) {
|
||||||
const response = request.query;
|
const response = request.body;
|
||||||
console.log('responsehemat', response);
|
console.log('responsehemat', response);
|
||||||
console.log('responsehemat2', request);
|
console.log('responsehemat2', request.body);
|
||||||
if (response['msg'] != 'Transaksi Sukses') {
|
if (response['msg'] != 'Transaksi Sukses') {
|
||||||
//TODO: UPDATE GAGAL
|
//TODO: UPDATE GAGAL
|
||||||
await this.transactionService.checkCallbackOrderFailed(
|
await this.transactionService.checkCallbackOrderFailed(
|
||||||
|
|
Loading…
Reference in New Issue
Block a user