Chang pos of totp_secret property in users struct

This commit is contained in:
syeopite 2021-07-14 22:22:26 -07:00
parent 92b76e20de
commit cf7efc1ceb
No known key found for this signature in database
GPG key ID: 6FA616E5A5294A82

View file

@ -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