From 758462f8cb9737ea8fb175cb4674984cc30bbd51 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 19 Dec 2022 20:42:44 -0800 Subject: getProfile now wants 'actor' not 'user' --- adenosine-pds/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'adenosine-pds') 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)?)) } -- cgit v1.2.3