on develop help sign in
Updating AltMedia 'singleton' to return the correct multipart media type

Fixes #16

commit61dd6a678e9c618d500ffe93f7d145f3e3d3845f authorBrendan Hay <brendan.g.hay@gmail.com> dateFri 18 Mar 2016, 18:47 (11 years ago) parent6921be8
1 file changed+1−1
core/src/Network/Google/Types.hs+1−1
core/src/Network/Google/Types.hs+1−1
@@ -58,7 +58,7 @@ data AltJSON = AltJSON deriving (Eq, Ord, Show, Read, Generic, Typeable)
5858data AltMedia = AltMedia deriving (Eq, Ord, Show, Read, Generic, Typeable)
5959
6060instance ToText AltJSON where toText = const "json"
61−instance ToText AltMedia where toText = const "media"
61+instance ToText AltMedia where toText = const "multipart"
6262
6363newtype OAuthScope = OAuthScope Text
6464 deriving (Eq, Ord, Show, Read, IsString, Generic, Typeable, FromText, ToText, FromJSON, ToJSON)