diff options
author | Camille Fassett <camillefassett@gmail.com> | 2023-04-09 18:31:26 -0700 |
---|---|---|
committer | bryan newbold <bnewbold@robocracy.org> | 2023-04-10 00:48:46 -0700 |
commit | ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432 (patch) | |
tree | 9496024ec894b6fa66c6b53d7cc0252b6800154a | |
parent | d535c1df984600b4a3dec37bd454d90f60be536a (diff) | |
download | adenosine-ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432.tar.gz adenosine-ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432.zip |
change session to server
-rw-r--r-- | adenosine/src/xrpc.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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, |