Skip to content

Commit

Permalink
Provide search params properly for job cancelation endpoint (#1232)
Browse files Browse the repository at this point in the history
  • Loading branch information
Derstilon authored Sep 28, 2023
1 parent ccd0f4f commit e8d8941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/ShSimulatorService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ const ShSimulation = ({ children }: GenericContextProviderProps) => {
authKy
.delete(getEndpointFromSimulationInfo(info), {
signal,
searchParams: camelToSnakeCase(info.jobId)
searchParams: camelToSnakeCase({ jobId: info.jobId })
})
.then(() => {
statusDataCache.delete(info.jobId);
Expand Down

0 comments on commit e8d8941

Please sign in to comment.