From 3cbcc2d4b0e4f37c271fcfd3e4acdc91d51a53a3 Mon Sep 17 00:00:00 2001 From: Pritish Budhiraja Date: Mon, 4 Nov 2024 16:09:55 +0530 Subject: [PATCH] fix: comment added --- src/Utilities/Utils.res | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Utilities/Utils.res b/src/Utilities/Utils.res index 24062933..ebc79bcc 100644 --- a/src/Utilities/Utils.res +++ b/src/Utilities/Utils.res @@ -892,6 +892,7 @@ let fetchApi = async (uri, ~bodyStr: string="", ~headers=Dict.make(), ~method: F }, ) + //* Fetch.Response.ok - Response status code - 200-299 if !(response->Fetch.Response.ok) { let errorText = await response->Fetch.Response.text let status = response->Fetch.Response.status