summaryrefslogtreecommitdiff
path: root/src/modules/auth/mod.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/auth/mod.rs')
-rw-r--r--src/modules/auth/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/auth/mod.rs b/src/modules/auth/mod.rs
index 80d02ad..32dd0f2 100644
--- a/src/modules/auth/mod.rs
+++ b/src/modules/auth/mod.rs
@@ -55,7 +55,7 @@ impl<'de> Deserialize<'de> for Credentials {
E: Error,
{
let path = String::deserialize(value::StrDeserializer::new(val))?;
- let c = serde_yaml::from_str(&read_to_string(path).map_err(|io| {
+ let c = serde_yml::from_str(&read_to_string(path).map_err(|io| {
serde::de::Error::custom(format!("cannot read creds file: {io:?}"))
})?)
.map_err(|e| serde::de::Error::custom(format!("cannot parse creds file: {e:?}")))?;