Skip to content

Commit

Permalink
fix: content type fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja committed Jan 24, 2024
1 parent 0ce1d05 commit 3a0a443
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/hooks/AuthHooks.res
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ let getHeaders = (~uri, ~headers, ()) => {
| Some(token) => {
headers->Dict.set("authorization", `Bearer ${token}`)
headers->Dict.set("api-key", `hyperswitch`)
headers->Dict.set("Content-Type", `application/json`)
headers
}

Expand Down

0 comments on commit 3a0a443

Please sign in to comment.