Skip to content

Commit

Permalink
fix: headers issue (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
Pritish Budhiraja authored Jan 24, 2024
1 parent 40954d2 commit 91f98c4
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 @@ -23,6 +23,7 @@ let getHeaders = (~uri, ~headers, ()) => {
let res = switch hyperSwitchToken {
| Some(token) => {
headers->Dict.set("authorization", `Bearer ${token}`)
headers->Dict.set("api-key", `hyperswitch`)
headers
}

Expand Down

0 comments on commit 91f98c4

Please sign in to comment.