From 3a0a443d28b10590ed841073f71b2b81901b79ab Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja <1805317@kiit.ac.in> Date: Wed, 24 Jan 2024 17:06:27 +0530 Subject: [PATCH] fix: content type fix --- src/hooks/AuthHooks.res | 1 + 1 file changed, 1 insertion(+) diff --git a/src/hooks/AuthHooks.res b/src/hooks/AuthHooks.res index fce80749f..57792db24 100644 --- a/src/hooks/AuthHooks.res +++ b/src/hooks/AuthHooks.res @@ -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 }