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 c2603bc
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/lib/teuthologyAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,11 @@ function useRunKill(): UseMutationResult {
mutationKey: ['run-kill', { url }],
mutationFn: (payload) => (
axios.post(url, data, {
withCredentials: true
withCredentials: true,
headers: {
'Accept': 'application/json',
'Content-Type': 'application/json',
}
})
),
retry: 0,
Expand Down

0 comments on commit c2603bc

Please sign in to comment.