Signed-off-by: Will did:plc:dadhhalkfcq3gucaq25hjqon
+3
-1
Diff
round #1
+3
-1
src/xrpc/routes.rs
+3
-1
src/xrpc/routes.rs
···
27
27
pub async fn app_bsky_actor_get_profile(
28
28
State(_): State<AppState>,
29
29
ExtractOptionalServiceAuth(_auth): ExtractOptionalServiceAuth,
30
-
ExtractXrpc(_): ExtractXrpc<GetProfileRequest>,
30
+
ExtractXrpc(req): ExtractXrpc<GetProfileRequest>,
31
31
) -> Result<Json<GetProfileOutput<'static>>, XrpcErrorResponse> {
32
+
let actor = req.actor.to_string();
33
+
println!("{actor}");
32
34
return Err(XrpcErrorResponse::not_implemented());
33
35
}
34
36
History
2 rounds
0 comments
willdot.net
submitted
#1
1 commit
expand
collapse
print out the did provided in the request
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
merge conflicts detected
expand
collapse
expand
collapse
- src/server.rs:13
- src/xrpc/routes.rs:2
expand 0 comments
willdot.net
submitted
#0
1 commit
expand
collapse
added get profile and return not implemented
Signed-off-by: Will <did:plc:dadhhalkfcq3gucaq25hjqon>
--
2.52.0