fix: multiple path parameters come as tuples!!
This commit is contained in:
parent
5a5c47ecbc
commit
3d8aca843e
1 changed files with 1 additions and 2 deletions
|
@ -73,8 +73,7 @@ pub async fn proxy_form(
|
|||
pub async fn proxy_cloak(
|
||||
State(ctx): State<Context>,
|
||||
AuthIdentity(auth): AuthIdentity,
|
||||
Path(hmac): Path<String>,
|
||||
Path(uri): Path<String>,
|
||||
Path((hmac, uri)): Path<(String, String)>,
|
||||
) -> crate::ApiResult<impl IntoResponse> {
|
||||
let uri = ctx.uncloak(&hmac, &uri)
|
||||
.ok_or_else(ApiError::unauthorized)?;
|
||||
|
|
Loading…
Reference in a new issue