From b1a01a4e888e9a307fcd8ca25ea5219c7a586a54 Mon Sep 17 00:00:00 2001 From: MrExplode Date: Fri, 3 Nov 2023 15:35:34 +0100 Subject: [PATCH] feat: Ignore issue property events --- src/jira.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/jira.rs b/src/jira.rs index 94d1be0..c2092e6 100644 --- a/src/jira.rs +++ b/src/jira.rs @@ -40,6 +40,10 @@ async fn handle(info: web::Query, body: String, clients: Data return HttpResponse::Unauthorized().finish(); } + if &body.contains("issue_property_set") { + HttpResponse::Accepted().finish() + } + if env::var("LOG_REQUESTS").unwrap_or("".to_string()) != "" { let _ = log_request(&body); }