mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Match user refreshes on user_id not username as it causes issues if usernames change.
This commit is contained in:
parent
82808cdc97
commit
41e1fee4b4
1 changed files with 2 additions and 3 deletions
|
@ -27,9 +27,8 @@ def refresh_users():
|
|||
|
||||
if len(result) > 0:
|
||||
for item in result:
|
||||
control_value_dict = {"username": item['username']}
|
||||
new_value_dict = {"user_id": item['user_id'],
|
||||
"username": item['username'],
|
||||
control_value_dict = {"user_id": item['user_id']}
|
||||
new_value_dict = {"username": item['username'],
|
||||
"thumb": item['thumb'],
|
||||
"email": item['email'],
|
||||
"is_home_user": item['is_home_user'],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue