Skip to content

Commit

Permalink
Merge pull request #306 from atlassian/ARC-3241-clean-bulkbyproperties
Browse files Browse the repository at this point in the history
ARC-3241 Clean BulkByProperties api call to remove cloud id as this is redundant
  • Loading branch information
yvonnevictoria authored Aug 7, 2024
2 parents e432e4c + 7452bb3 commit 60c4047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/jira-client/delete-builds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ async function deleteBuilds(cloudId: string, jenkinsServerUuid?: string): Promis
let deleteBuildsRoute: Route;
if (jenkinsServerUuid) {
// eslint-disable-next-line max-len
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?cloudId=${cloudId}&jenkinsServerUuid=${jenkinsServerUuid}`;
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?jenkinsServerUuid=${jenkinsServerUuid}`;
} else {
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?cloudId=${cloudId}`;
}
Expand Down

0 comments on commit 60c4047

Please sign in to comment.