use set rather than list
commit1216e076310c9774bc586739769eea7c2ff80c39
authorMark Wotton <mwotton@gmail.com>
dateFri 16 Dec 2016, 17:12 (10 years ago)
parent2244896
src/Network/API/Mandrill/Webhooks.hs+1−1
@@ -62,7 +62,7 @@ data WebhookAddRq =
6262 { _warq_key :: MandrillKey
6363 , _warq_url :: Text
6464 , _warq_description :: Text
65− , _warq_events :: [EventHook]
65+ , _warq_events :: Set EventHook
6666 } deriving Show
6767
6868makeLenses ''WebhookAddRq