mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-08-14.git
synced 2024-08-15 00:53:20 +00:00
Fix preferences for existing users
This commit is contained in:
parent
eaf8854f96
commit
abab7fca87
1 changed files with 1 additions and 0 deletions
|
@ -775,6 +775,7 @@ def get_user(sid, client, headers, db, refresh = true)
|
|||
else
|
||||
user = fetch_user(sid, client, headers, db)
|
||||
user_array = user.to_a
|
||||
user_array[5] = user_array[5].to_json
|
||||
args = arg_array(user.to_a)
|
||||
|
||||
db.exec("INSERT INTO users VALUES (#{args}) \
|
||||
|
|
Loading…
Reference in a new issue