mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-10-23 20:58:09 +03:00
Rename to_json_list to to_json_provder to reflect the response model
This commit is contained in:
2 files changed
+2
-2
No files matched your search
@@ -59,7 +59,7 @@ impl TwoFactor {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn to_json_list(&self) -> Value {
|
||||
pub fn to_json_provider(&self) -> Value {
|
||||
json!({
|
||||
"Enabled": self.enabled,
|
||||
"Type": self.atype,
|
||||
|
||||
Reference in new issue
Block a user