summaryrefslogtreecommitdiffstats
path: root/adenosine-pds/src/models.rs
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-11-07 00:44:35 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-11-07 00:44:35 -0800
commit73bb6f114d3fe9233af4f9ab91c8fc2b09b3c6c0 (patch)
treee04adc0818f9089dc727af065683b9c110208643 /adenosine-pds/src/models.rs
parent13b77ec75c5018f17048e2712ca83da3b4bb82dc (diff)
downloadadenosine-73bb6f114d3fe9233af4f9ab91c8fc2b09b3c6c0.tar.gz
adenosine-73bb6f114d3fe9233af4f9ab91c8fc2b09b3c6c0.zip
pds: update upstream lexicon details
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,
}