Fix recent users function
A bug was introduced when modifying the functions to work with
participants in b4c92a39
. A new field was added to the query, but the
offset was not modified when reading the username.
This commit is contained in:
parent
62b8fe82da
commit
53cb5b596c
|
@ -14,4 +14,4 @@ def get_recent_users(tracker, limit=20):
|
|||
.order_by(Event.created.desc())
|
||||
.limit(20))
|
||||
|
||||
return {e[1] for e in recent_user_events}
|
||||
return {e[2] for e in recent_user_events}
|
||||
|
|
Loading…
Reference in New Issue