diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-07 00:44:35 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-11-07 00:44:35 -0800 |
commit | 73bb6f114d3fe9233af4f9ab91c8fc2b09b3c6c0 (patch) | |
tree | e04adc0818f9089dc727af065683b9c110208643 /adenosine-pds/src/models.rs | |
parent | 13b77ec75c5018f17048e2712ca83da3b4bb82dc (diff) | |
download | adenosine-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.rs | 4 |
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, } |