@@ -190,7 +190,7 @@ deriveJSON defaultOptions { fieldLabelModifier = drop 6 } ''MandrillMergeVars
190--------------------------------------------------------------------------------
190--------------------------------------------------------------------------------
191data MandrillMetadata = MandrillMetadata {
191data MandrillMetadata = MandrillMetadata {
192 _mmdt_rcpt :: !T.Text
192 _mmdt_rcpt :: !T.Text
193− , _mmdt_values :: MandrillVars
193+ , _mmdt_values :: Object
194 } deriving Show
194 } deriving Show
196makeLenses ''MandrillMetadata
196makeLenses ''MandrillMetadata
@@ -296,7 +296,7 @@ data MandrillMessage = MandrillMessage {
296 -- ^ optional string indicating the value to set for the utm_campaign
296 -- ^ optional string indicating the value to set for the utm_campaign
297 -- tracking parameter. If this isn't provided the email's from address
297 -- tracking parameter. If this isn't provided the email's from address
298 -- will be used instead.
298 -- will be used instead.
299− , _mmsg_metadata :: MandrillVars
299+ , _mmsg_metadata :: Object
300 -- ^ metadata an associative array of user metadata. Mandrill will store
300 -- ^ metadata an associative array of user metadata. Mandrill will store
301 -- this metadata and make it available for retrieval.
301 -- this metadata and make it available for retrieval.
302 -- In addition, you can select up to 10 metadata fields to index
302 -- In addition, you can select up to 10 metadata fields to index
@@ -341,7 +341,7 @@ instance Arbitrary MandrillMessage where
341 <*> pure Nothing
341 <*> pure Nothing
342 <*> pure []
342 <*> pure []
343 <*> pure Nothing
343 <*> pure Nothing
344− <*> pure emptyObject
344+ <*> pure H.empty
345 <*> pure []
345 <*> pure []
346 <*> pure []
346 <*> pure []
347 <*> pure []
347 <*> pure []