price display change done

This commit is contained in:
akilan
2020-05-16 17:20:18 +04:00
parent 5d360a5ce9
commit da6819a13d

View File

@@ -102,7 +102,7 @@ client.on('message', async msg =>
else if (msg.body.startsWith('cost:')) else if (msg.body.startsWith('cost:'))
{ {
id = check_id(msg.id.remote); id = check_id(msg.id.remote);
data[id].data[data[id].cur_iter_data].cost = Number(msg.body.slice(12)); data[id].data[data[id].cur_iter_data].cost = Number(msg.body.slice(5));
} }
// Testing Phase // Testing Phase