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
parent 8bbbff7567
commit dfdf4473ea
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,