File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
stripe-core/src/Web/Stripe Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ data Customer = Customer {
251251 , customerDescription :: Maybe Description
252252 , customerEmail :: Maybe Email
253253 , customerDelinquent :: Bool
254- , customerSubscriptions :: StripeList Subscription
254+ , customerSubscriptions :: Maybe ( StripeList Subscription )
255255 , customerDiscount :: Maybe Discount
256256 , customerAccountBalance :: Int
257257 , customerCards :: StripeList Card
@@ -278,7 +278,7 @@ instance FromJSON Customer where
278278 <*> o .:? " description"
279279 <*> (fmap Email <$> o .:? " email" )
280280 <*> o .: " delinquent"
281- <*> o .: " subscriptions"
281+ <*> o .:? " subscriptions"
282282 <*> o .:? " discount"
283283 <*> o .: " account_balance"
284284 <*> o .: " cards"
You can’t perform that action at this time.
0 commit comments