aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--adenosine-cli/src/bin/adenosine.rs2
-rw-r--r--adenosine-pds/src/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/adenosine-cli/src/bin/adenosine.rs b/adenosine-cli/src/bin/adenosine.rs
index 4c21170..21fdf31 100644
--- a/adenosine-cli/src/bin/adenosine.rs
+++ b/adenosine-cli/src/bin/adenosine.rs
@@ -602,7 +602,7 @@ fn run(opt: Opt) -> Result<()> {
.map(|v| v.to_string())
.or(jwt_did)
.ok_or(anyhow!("expected a name, or self via auth token"))?;
- params.insert("user".to_string(), name);
+ params.insert("actor".to_string(), name);
xrpc_client.get(&Nsid::from_str("app.bsky.actor.getProfile")?, Some(params))?
}
Command::Bsky {
diff --git a/adenosine-pds/src/lib.rs b/adenosine-pds/src/lib.rs
index c9f9e0a..6c4649d 100644
--- a/adenosine-pds/src/lib.rs
+++ b/adenosine-pds/src/lib.rs
@@ -442,7 +442,7 @@ fn xrpc_get_handler(
// =========== app.bsky methods
"app.bsky.actor.getProfile" => {
// TODO did or handle
- let did = Did::from_str(&xrpc_required_param(request, "user")?)?;
+ let did = Did::from_str(&xrpc_required_param(request, "actor")?)?;
let mut srv = srv.lock().unwrap();
Ok(json!(bsky_get_profile(&mut srv, &did)?))
}