From d2ec5c6b2e02b9c1b8cb76105a353bbd6ce17cc6 Mon Sep 17 00:00:00 2001
From: Adhidarma Hadiwinoto <gua@adhisimon.org>
Date: Mon, 3 Apr 2017 10:07:33 +0700
Subject: [PATCH] stok tidak tersedia

---
 gentong.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gentong.js b/gentong.js
index 3000550..0eb1375 100644
--- a/gentong.js
+++ b/gentong.js
@@ -361,7 +361,7 @@ function responseCodeFromMessage(message) {
     else if (message.toLowerCase().indexOf('saldo anda tidak mencukupi') >= 0) {
         return '40';
     }
-    else if (message.search(/stok product .* tidak tersedia ke nomor .* dari pilihan2 yg tersedia/i) >= 0) {
+    else if (message.search(/stok .* tidak tersedia ke nomor .*/i) >= 0) {
         return '13';
     }
     else if (message.search(/stok produk .* gangguan ke no tujuan/i) >= 0) {
-- 
1.9.0