diff options
author | bryan newbold <bnewbold@robocracy.org> | 2023-02-19 17:01:07 -0800 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-02-19 17:19:39 -0800 |
commit | ec2bf0c54245cd84f492847d2a1e070919b14a53 (patch) | |
tree | dbeb5b28c8b7e06eb9ac192d14ea4fdec81bb1e7 /adenosine-pds/src/bin | |
parent | b8ba815b4cafdff48694d14c994e862738d342ef (diff) | |
download | adenosine-ec2bf0c54245cd84f492847d2a1e070919b14a53.tar.gz adenosine-ec2bf0c54245cd84f492847d2a1e070919b14a53.zip |
more refactoring of common code and APIs
Diffstat (limited to 'adenosine-pds/src/bin')
-rw-r--r-- | adenosine-pds/src/bin/adenosine-pds.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/adenosine-pds/src/bin/adenosine-pds.rs b/adenosine-pds/src/bin/adenosine-pds.rs index c16e7e0..c004098 100644 --- a/adenosine-pds/src/bin/adenosine-pds.rs +++ b/adenosine-pds/src/bin/adenosine-pds.rs @@ -1,5 +1,7 @@ +use adenosine::com_atproto; +use adenosine::crypto::KeyPair; use adenosine::mst; -use adenosine_pds::models::AccountRequest; +use adenosine::repo::RepoStore; use adenosine_pds::*; use anyhow::Result; use serde_json::json; @@ -208,7 +210,7 @@ fn main() -> Result<()> { public_url, did_plc, } => { - let req = AccountRequest { + let req = com_atproto::AccountRequest { email, handle: handle.clone(), password, |