Merge branch 'development' into 'devops-staging'

fix: callbacktransction

See merge request empatnusabangsa/ppob/ppob-backend!190
This commit is contained in:
ilham dwi pratama 2022-06-28 10:10:50 +00:00
commit 2352495bd6

View File

@ -1164,7 +1164,8 @@ export class TransactionService {
} else { } else {
const response = callback['message']; const response = callback['message'];
const responseBaru = response.split(' '); const responseBaru = response.split(' ');
dataTransaction.seri_number = responseBaru[9]; dataTransaction.seri_number =
responseBaru[10].length > 1 ? responseBaru[10] : responseBaru[9];
} }
dataTransaction.callback_json = callback; dataTransaction.callback_json = callback;