Commit ac69165b by zCaesar

fix args pos

parent e59b54db
......@@ -24,7 +24,7 @@ function on_message_redis(deviceid, payload, topic) { // first time to access on
let charged_message_count = information.charged_message_count
let total_message_size = information.total_message_size
redis.on_message(device_keys, broker_keys, last_publish, charged_message_count, total_message_size, (err, result) => {
redis.on_message(device_keys, broker_keys, charged_message_count, total_message_size, last_publish, (err, result) => {
if (err) console.log(err)
else console.log(result)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment