aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Fassett <camillefassett@gmail.com>2023-04-09 18:27:06 -0700
committerbryan newbold <bnewbold@robocracy.org>2023-04-10 00:48:43 -0700
commitd535c1df984600b4a3dec37bd454d90f60be536a (patch)
treed3bb9c937989a34e24c058af598298c6764070f7
parent8e46c56e2755cf2126dabfd5f4bee7f51948605d (diff)
downloadadenosine-d535c1df984600b4a3dec37bd454d90f60be536a.tar.gz
adenosine-d535c1df984600b4a3dec37bd454d90f60be536a.zip
update auth login fields to reflect updated app version
-rw-r--r--adenosine/src/xrpc.rs6
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,
})),
)?;