aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Fassett <camillefassett@gmail.com>2023-04-09 18:31:26 -0700
committerbryan newbold <bnewbold@robocracy.org>2023-04-10 00:48:46 -0700
commitee8e940bc2c5e8d0b5bb2f126cce214e4d19e432 (patch)
tree9496024ec894b6fa66c6b53d7cc0252b6800154a
parentd535c1df984600b4a3dec37bd454d90f60be536a (diff)
downloadadenosine-ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432.tar.gz
adenosine-ee8e940bc2c5e8d0b5bb2f126cce214e4d19e432.zip
change session to server
-rw-r--r--adenosine/src/xrpc.rs2
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,