mirror of https://github.com/CIRCL/AIL-framework
fix: [term tracker] typo
parent
50ec4d822f
commit
bf5c2deed2
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue