Skip to content

Commit

Permalink
Merge branch 'main' into no-mytum-scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Jul 20, 2024
2 parents 03e8ab5 + de9e1db commit 2338478
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions server/main-api/src/feedback/post_feedback.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,7 @@ pub async fn send_feedback(
.body("Using this endpoint without accepting the privacy policy is not allowed");
};

github::open_issue(
&req_data.subject,
&req_data.body,
parse_labels(&req_data),
)
.await
github::open_issue(&req_data.subject, &req_data.body, parse_labels(&req_data)).await
}

fn parse_labels(req_data: &Json<FeedbackPostData>) -> Vec<String> {
Expand Down

0 comments on commit 2338478

Please sign in to comment.