Skip to content

Commit

Permalink
Update octobot/src/server/admin.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Matt Hauck <[email protected]>
  • Loading branch information
bblancha and matthauck authored Feb 7, 2024
1 parent 37ae164 commit cdcaaf3
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions octobot/src/server/admin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,12 @@ impl MergeVersions {
}
}

let version_url = if let Some(id) = all_relevant_versions.version_id {
Some(format!(
let version_url = match all_relevant_versions.version_id {
Some(id) => Some(format!(
"{}/projects/{}/versions/{}",
resp.jira_base, &merge_req.project, id
))
} else {
None
)),
None => None,
};

self.make_resp(
Expand Down

0 comments on commit cdcaaf3

Please sign in to comment.