diff options
author | Camille Fassett <camillefassett@gmail.com> | 2023-04-09 18:27:06 -0700 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-04-10 00:48:43 -0700 |
commit | d535c1df984600b4a3dec37bd454d90f60be536a (patch) | |
tree | d3bb9c937989a34e24c058af598298c6764070f7 | |
parent | 8e46c56e2755cf2126dabfd5f4bee7f51948605d (diff) | |
download | adenosine-d535c1df984600b4a3dec37bd454d90f60be536a.tar.gz adenosine-d535c1df984600b4a3dec37bd454d90f60be536a.zip |
update auth login fields to reflect updated app version
-rw-r--r-- | adenosine/src/xrpc.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/adenosine/src/xrpc.rs b/adenosine/src/xrpc.rs index df7e2ac..e0fab29 100644 --- a/adenosine/src/xrpc.rs +++ b/adenosine/src/xrpc.rs @@ -87,12 +87,12 @@ impl XrpcClient { } /// Creates a new session, and updates current client auth tokens with the result - pub fn auth_login(&mut self, handle: &str, password: &str) -> Result<()> { + pub fn auth_login(&mut self, identifier: &str, password: &str) -> Result<()> { let resp = self.post( - &Nsid::from_str("com.atproto.session.create")?, + &Nsid::from_str("com.atproto.session.createSession")?, None, Some(json!({ - "handle": handle, + "identifier": identifier, "password": password, })), )?; |