Skip to content

Commit

Permalink
fix: syntax errors
Browse files Browse the repository at this point in the history
thank you rust-analyzer very cool
  • Loading branch information
MrExplode committed Nov 3, 2023
1 parent b1a01a4 commit c531e3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/jira.rs
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ 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 body.contains("issue_property_set") {
return HttpResponse::Accepted().finish();
}

if env::var("LOG_REQUESTS").unwrap_or("".to_string()) != "" {
Expand Down

0 comments on commit c531e3d

Please sign in to comment.