mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-16 02:02:58 -07:00
Fix bug when updating user profile pic without user_id.
This commit is contained in:
parent
375bd733f1
commit
411c28a10b
1 changed files with 1 additions and 1 deletions
|
@ -267,7 +267,7 @@ class DataFactory(object):
|
|||
|
||||
monitor_db = database.MonitorDatabase()
|
||||
|
||||
control_value_dict = {"user_id": user_id}
|
||||
control_value_dict = {"username": user}
|
||||
new_value_dict = {"thumb": profile_url}
|
||||
try:
|
||||
monitor_db.upsert('users', new_value_dict, control_value_dict)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue