Skip to content

Commit beb15b3

Browse files
author
Andrew Cady
committed
Servant.Foreign replaced reqBodyIsJSON with ReqBodyMultipart
1 parent f643378 commit beb15b3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Servant/Multipart.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -535,6 +535,6 @@ instance (HasForeignType lang ftype a, HasForeign lang ftype api)
535535
foreignFor lang ftype Proxy req =
536536
foreignFor lang ftype (Proxy @api) $
537537
req & reqBody .~ Just t
538-
& reqBodyIsJSON .~ False
538+
& reqBodyContentType .~ ReqBodyMultipart
539539
where
540540
t = typeFor lang ftype (Proxy @a)

0 commit comments

Comments
 (0)