From cf7efc1ceb6123a6da27fb6de694e59a6eb49664 Mon Sep 17 00:00:00 2001 From: syeopite Date: Wed, 14 Jul 2021 22:22:26 -0700 Subject: [PATCH] Chang pos of totp_secret property in users struct --- src/invidious/users.cr | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/invidious/users.cr b/src/invidious/users.cr index 8227bc76..54ef0a70 100644 --- a/src/invidious/users.cr +++ b/src/invidious/users.cr @@ -10,7 +10,6 @@ struct User property notifications : Array(String) property subscriptions : Array(String) property email : String - property totp_secret : String? @[DB::Field(converter: User::PreferencesConverter)] property preferences : Preferences @@ -19,6 +18,8 @@ struct User property watched : Array(String) property feed_needs_update : Bool? + property totp_secret : String? + module PreferencesConverter def self.from_rs(rs) begin