summaryrefslogtreecommitdiffstats
path: root/adenosine-pds
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2022-12-19 20:42:44 -0800
committerBryan Newbold <bnewbold@robocracy.org>2022-12-19 20:48:09 -0800
commit758462f8cb9737ea8fb175cb4674984cc30bbd51 (patch)
treeea29cfa1d46b5a9b3f06720599e7233e6c46ac65 /adenosine-pds
parent9043712d1f9c09bc530de3ffd8d87635a026d26c (diff)
downloadadenosine-758462f8cb9737ea8fb175cb4674984cc30bbd51.tar.gz
adenosine-758462f8cb9737ea8fb175cb4674984cc30bbd51.zip
getProfile now wants 'actor' not 'user'
Diffstat (limited to 'adenosine-pds')
-rw-r--r--adenosine-pds/src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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)?))
}