Invidious is an alternative front-end to YouTube
Fix preferences for existing users
Omar Rothabab7fca87ee
diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.crindex 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)elseuser = fetch_user(sid, client, headers, db)user_array = user.to_a+ user_array[5] = user_array[5].to_jsonargs = arg_array(user.to_a)db.exec("INSERT INTO users VALUES (#{args}) \