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