diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-07-18 15:49:01 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-07-18 15:49:01 -0500 |
| commit | abab7fca87ee053249e111383e1b591e6f04dfe5 (patch) | |
| tree | c4ed6182d341b6d9ea66f8975db24de62a4dd487 | |
| parent | eaf8854f966d826c1287141412f145efdaefa359 (diff) | |
| download | invidious-abab7fca87ee053249e111383e1b591e6f04dfe5.tar.gz invidious-abab7fca87ee053249e111383e1b591e6f04dfe5.tar.bz2 invidious-abab7fca87ee053249e111383e1b591e6f04dfe5.zip | |
Fix preferences for existing users
| -rw-r--r-- | src/invidious/helpers.cr | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index 86c50e5c..5734aa3a 100644 --- a/src/invidious/helpers.cr +++ b/src/invidious/helpers.cr @@ -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}) \ |
