Commit f916d1abf59d08096496c17c54ea4a080ae36c5b

Authored by Adhidarma Hadiwinoto
1 parent 6505ca7877
Exists in master

tambah keyword sukses

Showing 1 changed file with 3 additions and 0 deletions Side-by-side Diff

... ... @@ -183,6 +183,9 @@ function parseMessage(task, message) {
183 183 if (message.indexOf('SUKSES') >= 0) {
184 184 rc = '00';
185 185 }
  186 + else if (message.indexOf('Sukses') >= 0) {
  187 + rc = '00';
  188 + }
186 189 else if (message.indexOf('GAGAL. Nomor tujuan salah') >= 0) {
187 190 rc = '14';
188 191 }