Skip to content

Commit

Permalink
content type application/json
Browse files Browse the repository at this point in the history
Signed-off-by: Vallari Agrawal <[email protected]>
  • Loading branch information
VallariAg committed Sep 11, 2024
1 parent 1cbd77d commit ba2b345
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/lib/teuthologyAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,10 @@ function useRunKill(): UseMutationResult {
mutationKey: ['run-kill', { url }],
mutationFn: (payload) => (
axios.post(url, data, {
withCredentials: true
withCredentials: true,
headers: {
'Content-Type': 'application/json',
}
})
),
retry: 0,
Expand Down

0 comments on commit ba2b345

Please sign in to comment.