fix: dispatcher check doesn't include trailing
This commit is contained in:
parent
8150b9082d
commit
4f8132a642
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ async fn worker(db: DatabaseConnection, domain: String, poll_interval: u64, mut
|
|||
},
|
||||
};
|
||||
|
||||
let key = if delivery.actor.ends_with(&domain) {
|
||||
let key = if delivery.actor == format!("https://{domain}/") {
|
||||
let Some(model::application::Model { private_key: key, .. }) = model::application::Entity::find()
|
||||
.one(&db).await?
|
||||
else {
|
||||
|
|
Loading…
Reference in a new issue