Skip to content

Commit 3c39714

Browse files
author
David Hasani
committed
fix stopJob
1 parent 6b43e25 commit 3c39714

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/codewhisperer/service/transformByQ/transformApiHandler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export async function stopJob(jobId: string) {
206206

207207
try {
208208
await codeWhisperer.codeWhispererClient.codeModernizerStopCodeTransformation({
209-
transformationJobId: 'aeac96c3-861f-4d85-9b5f-081c9dc6b481',
209+
transformationJobId: jobId,
210210
})
211211
} catch (e: any) {
212212
getLogger().error(`CodeTransformation: StopTransformation error = %O`, e)

0 commit comments

Comments
 (0)