mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-18 12:14:27 -05:00
Fix preferences for existing users
This commit is contained in:
parent
eaf8854f96
commit
abab7fca87
@ -775,6 +775,7 @@ def get_user(sid, client, headers, db, refresh = true)
|
|||||||
else
|
else
|
||||||
user = fetch_user(sid, client, headers, db)
|
user = fetch_user(sid, client, headers, db)
|
||||||
user_array = user.to_a
|
user_array = user.to_a
|
||||||
|
user_array[5] = user_array[5].to_json
|
||||||
args = arg_array(user.to_a)
|
args = arg_array(user.to_a)
|
||||||
|
|
||||||
db.exec("INSERT INTO users VALUES (#{args}) \
|
db.exec("INSERT INTO users VALUES (#{args}) \
|
||||||
|
Loading…
Reference in New Issue
Block a user