Skip to content

Commit

Permalink
feat: Ignore issue property events
Browse files Browse the repository at this point in the history
  • Loading branch information
MrExplode committed Nov 3, 2023
1 parent 332eaa8 commit b1a01a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/jira.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ async fn handle(info: web::Query<Info>, body: String, clients: Data<Arc<Clients>
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);
}
Expand Down

0 comments on commit b1a01a4

Please sign in to comment.