mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-03-16.git
synced 2024-08-15 00:53:18 +00:00
Chang pos of totp_secret property in users struct
This commit is contained in:
parent
92b76e20de
commit
cf7efc1ceb
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue