Fixed a regression in WebFinger by tag
ci/woodpecker/push/ociImagePush Pipeline is running
Details
ci/woodpecker/push/ociImagePush Pipeline is running
Details
This commit is contained in:
parent
0dff0c0785
commit
014b394f66
|
@ -47,7 +47,12 @@ pub async fn handle_webfinger(
|
||||||
StatusCode::UNPROCESSABLE_ENTITY
|
StatusCode::UNPROCESSABLE_ENTITY
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
ck.get_user_by_tag(tag.name.as_ref(), tag.host.as_ref())
|
ck.get_user_by_tag(
|
||||||
|
tag.name.as_ref(),
|
||||||
|
tag.host
|
||||||
|
.as_ref()
|
||||||
|
.filter(|host| host.to_string() != config.networking.host),
|
||||||
|
)
|
||||||
.await
|
.await
|
||||||
.map_err(|e| {
|
.map_err(|e| {
|
||||||
error!("Data error: {e}");
|
error!("Data error: {e}");
|
||||||
|
|
Loading…
Reference in New Issue