Commit 11a195e266126176d3cce3e5717e51c3907ce777
1 parent
26753cdeeb
Exists in
master
ada kata gagal rc40
Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff
gentong.js
... | ... | @@ -376,6 +376,10 @@ function responseCodeFromMessage(message) { |
376 | 376 | else if (message.search(/transaksi gagal di proses, ulangi beberapa saat lagi/i) >= 0) { |
377 | 377 | return '40'; |
378 | 378 | } |
379 | + else if (message.toLowerCase().indexOf('gagal') >= 0) { | |
380 | + return '40'; | |
381 | + } | |
382 | + | |
379 | 383 | |
380 | 384 | return; |
381 | 385 | } |