From ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432 Mon Sep 17 00:00:00 2001 From: Camille Fassett Date: Sun, 9 Apr 2023 18:31:26 -0700 Subject: change session to server --- adenosine/src/xrpc.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/adenosine/src/xrpc.rs b/adenosine/src/xrpc.rs index e0fab29..a58b004 100644 --- a/adenosine/src/xrpc.rs +++ b/adenosine/src/xrpc.rs @@ -89,7 +89,7 @@ impl XrpcClient { /// Creates a new session, and updates current client auth tokens with the result pub fn auth_login(&mut self, identifier: &str, password: &str) -> Result<()> { let resp = self.post( - &Nsid::from_str("com.atproto.session.createSession")?, + &Nsid::from_str("com.atproto.server.createSession")?, None, Some(json!({ "identifier": identifier, -- cgit v1.2.3