fix: [term tracker] typo

pull/569/head
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
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ def get_tracker_sparkline(tracker_uuid, num_day=6):
return sparklines_value
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
res = r_serv_tracker.sadd(f'tracker:item:{tracker_uuid}:{item_date}', item_id)
# track nb item by date