diff options
-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, })), )?; |