From 817ea29708f9fea080dcc61d52a9234dfad45b83 Mon Sep 17 00:00:00 2001 From: sigma-andex <77549848+sigma-andex@users.noreply.github.com> Date: Fri, 25 Aug 2023 17:02:55 +0100 Subject: [PATCH] Add to fetchBody as well --- src/Fetch.purs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Fetch.purs b/src/Fetch.purs index 55346fb..6db9bd3 100644 --- a/src/Fetch.purs +++ b/src/Fetch.purs @@ -71,7 +71,7 @@ fetch url r = do -- | Like `fetch`, but can accept arbitrary `RequestBody`s. fetchBody - :: forall input output thruIn thruOut headers body + :: forall input output @thruIn thruOut headers body . ToRequestBody body => Union input thruIn (HighlevelRequestOptions headers body) => Union output thruOut CoreRequest.UnsafeRequestOptions