Skip to content

Commit

Permalink
fix: removed unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
Riddhiagrawal001 committed Jan 17, 2024
1 parent aa138fd commit 2854558
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/hooks/AuthHooks.res
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ let getHeaders = (~uri, ~headers, ~isFromFormData, ()) => {
} else if isFromFormData {
let headerObj = {
"Authorization": `Bearer ${hyperSwitchToken->Belt.Option.getWithDefault("")}`,
"api-key": headers->Dict.get("api-key")->Belt.Option.getWithDefault("hyperswitch"),
}
Fetch.HeadersInit.make(headerObj)
} else {
Expand Down
1 change: 1 addition & 0 deletions src/screens/HyperSwitch/Routing/DefaultRouting.res
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ let make = () => {
~methodType=Post,
(),
)}/profile/${profile}`

(
await updateDetails(defaultFallbackUpdateUrl, defaultPayload->Js.Json.array, Post, ())
)->ignore
Expand Down

0 comments on commit 2854558

Please sign in to comment.