Skip to content

Commit

Permalink
fix: comment added
Browse files Browse the repository at this point in the history
  • Loading branch information
PritishBudhiraja committed Nov 4, 2024
1 parent caf1967 commit 3cbcc2d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Utilities/Utils.res
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3cbcc2d

Please sign in to comment.