Skip to content

Commit a0e2d8b

Browse files
committed
passing url params properly
1 parent 7f43281 commit a0e2d8b

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/lib/httpClient.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -681,8 +681,13 @@ export default class httpClient {
681681

682682
getSnapshotStatus(buildId: string, snapshotName: string, snapshotUuid: string, ctx: Context): Promise<Record<string, any>> {
683683
return this.request({
684-
url: `/snapshot/status?buildId=${buildId}&snapshotName=${snapshotName}&snapshotUUID=${snapshotUuid}`,
684+
url: `/snapshot/status`,
685685
method: 'GET',
686+
params: {
687+
buildId,
688+
snapshotName,
689+
snapshotUUID: snapshotUuid
690+
},
686691
headers: {
687692
'Content-Type': 'application/json',
688693
}

0 commit comments

Comments
 (0)