1
0
Fork 0
mirror of https://github.com/dani-garcia/vaultwarden.git synced 2025-09-15 14:12:42 +00:00

Rename to_json_list to to_json_provder to reflect the response model

This commit is contained in:
theycallmesteve 2020-05-08 13:36:35 -04:00
commit dfdf4473ea
No known key found for this signature in database
GPG key ID: 6240923F65CC698D
2 changed files with 2 additions and 2 deletions

View file

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