Skip to content

Commit 60c4047

Browse files
Merge pull request #306 from atlassian/ARC-3241-clean-bulkbyproperties
ARC-3241 Clean BulkByProperties api call to remove cloud id as this is redundant
2 parents e432e4c + 7452bb3 commit 60c4047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/jira-client/delete-builds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async function deleteBuilds(cloudId: string, jenkinsServerUuid?: string): Promis
1515
let deleteBuildsRoute: Route;
1616
if (jenkinsServerUuid) {
1717
// eslint-disable-next-line max-len
18-
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?cloudId=${cloudId}&jenkinsServerUuid=${jenkinsServerUuid}`;
18+
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?jenkinsServerUuid=${jenkinsServerUuid}`;
1919
} else {
2020
deleteBuildsRoute = route`/builds/0.1/cloud/${cloudId}/bulkByProperties?cloudId=${cloudId}`;
2121
}

0 commit comments

Comments
 (0)