This commit is contained in:
Korina Cordero 2021-02-11 08:52:10 +00:00
parent 903a8bd3f7
commit 6f0fb9a0ae

View file

@ -70,4 +70,4 @@ def on_message(client, userdata, message):
client.publish(channel, payload)
# add to rider_cache rider's latest location
redis_conn.geoadd('loc_rider_active', rider_log, rider_lat, rider_id)
redis_conn.geoadd('loc_rider_active', rider_long, rider_lat, rider_id)