fix: [term tracker] typo

This commit is contained in:
Terrtia 2021-07-15 15:08:11 +02:00
parent 50ec4d822f
commit bf5c2deed2
No known key found for this signature in database
GPG key ID: 1E1B1F50D84613D0

View file

@ -142,7 +142,7 @@ def get_tracker_sparkline(tracker_uuid, num_day=6):
return sparklines_value return sparklines_value
def add_tracked_item(tracker_uuid, item_id): def add_tracked_item(tracker_uuid, item_id):
item_date = item_basic.get_item_date(id) item_date = item_basic.get_item_date(item_id)
# track item # track item
res = r_serv_tracker.sadd(f'tracker:item:{tracker_uuid}:{item_date}', item_id) res = r_serv_tracker.sadd(f'tracker:item:{tracker_uuid}:{item_date}', item_id)
# track nb item by date # track nb item by date