Skip to content

Commit

Permalink
add common
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco Zocca committed Jun 20, 2023
1 parent ff6e4e9 commit 4e28fe5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ms-azure-api/src/MSAzureAPI/Internal/Common.hs
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,10 @@ import UnliftIO (MonadUnliftIO(..))
import UnliftIO.Exception (try)


-- | @GET@ a 'LBS.ByteString' e.g. a file
getLbs :: APIPlane
-> [Text] -> Option 'Https -> AccessToken -> Req LBS.ByteString
-> [Text] -- ^ URI path segments
-> Option 'Https -> AccessToken -> Req LBS.ByteString
getLbs apiplane paths params tok = responseBody <$> req GET url NoReqBody lbsResponse opts
where
opts = auth <> params
Expand Down

0 comments on commit 4e28fe5

Please sign in to comment.