diff --git a/upub/routes/src/activitypub/application.rs b/upub/routes/src/activitypub/application.rs index 8ee11b3..85cd110 100644 --- a/upub/routes/src/activitypub/application.rs +++ b/upub/routes/src/activitypub/application.rs @@ -73,8 +73,7 @@ pub async fn proxy_form( pub async fn proxy_cloak( State(ctx): State, AuthIdentity(auth): AuthIdentity, - Path(hmac): Path, - Path(uri): Path, + Path((hmac, uri)): Path<(String, String)>, ) -> crate::ApiResult { let uri = ctx.uncloak(&hmac, &uri) .ok_or_else(ApiError::unauthorized)?;