mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-29 19:18:33 -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:
|
if len(result) > 0:
|
||||||
for item in result:
|
for item in result:
|
||||||
control_value_dict = {"username": item['username']}
|
control_value_dict = {"user_id": item['user_id']}
|
||||||
new_value_dict = {"user_id": item['user_id'],
|
new_value_dict = {"username": item['username'],
|
||||||
"username": item['username'],
|
|
||||||
"thumb": item['thumb'],
|
"thumb": item['thumb'],
|
||||||
"email": item['email'],
|
"email": item['email'],
|
||||||
"is_home_user": item['is_home_user'],
|
"is_home_user": item['is_home_user'],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue