aboutsummaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/models.rs
diff options
context:
space:
mode:
Diffstat (limited to 'adenosine-pds/src/models.rs')
-rw-r--r--adenosine-pds/src/models.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/adenosine-pds/src/models.rs b/adenosine-pds/src/models.rs
index 97705af..f172819 100644
--- a/adenosine-pds/src/models.rs
+++ b/adenosine-pds/src/models.rs
@@ -2,7 +2,7 @@
#[derive(Debug, serde::Deserialize, serde::Serialize, PartialEq, Eq)]
pub struct AccountRequest {
pub email: String,
- pub username: String,
+ pub handle: String,
pub password: String,
pub inviteCode: Option<String>,
pub recoveryKey: Option<String>,
@@ -11,7 +11,7 @@ pub struct AccountRequest {
#[allow(non_snake_case)]
#[derive(Debug, serde::Deserialize, serde::Serialize, PartialEq, Eq)]
pub struct SessionRequest {
- pub username: String,
+ pub handle: String,
pub password: String,
}