From d535c1df984600b4a3dec37bd454d90f60be536a Mon Sep 17 00:00:00 2001 From: Camille Fassett Date: Sun, 9 Apr 2023 18:27:06 -0700 Subject: update auth login fields to reflect updated app version --- adenosine/src/xrpc.rs | 6 +++--- 1 file 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, })), )?; -- cgit v1.2.3