박권수

fix. bug

...@@ -22,7 +22,7 @@ const factoring = async (topic, message) => { ...@@ -22,7 +22,7 @@ const factoring = async (topic, message) => {
22 const data = message.split('/'); 22 const data = message.split('/');
23 let [isOpen, temperature, humidity, balance] = data; 23 let [isOpen, temperature, humidity, balance] = data;
24 24
25 - if(isOpen === '0') 25 + if(isOpen === '1')
26 balance = await balanceFactoring(balance); 26 balance = await balanceFactoring(balance);
27 else balance = '-1'; 27 else balance = '-1';
28 28
......