aboutsummaryrefslogtreecommitdiffstats
path: root/src/api.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.rs')
-rw-r--r--src/api.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/api.rs b/src/api.rs
index e70c45b..ce8ae28 100644
--- a/src/api.rs
+++ b/src/api.rs
@@ -65,9 +65,9 @@ pub struct Cipher {
#[derive(serde::Serialize, serde::Deserialize, Debug)]
pub struct Login {
#[serde(rename = "Username")]
- pub username: String,
+ pub username: Option<String>,
#[serde(rename = "Password")]
- pub password: String,
+ pub password: Option<String>,
}
#[derive(Debug)]