Skip to content

Commit 694d1f1

Browse files
committed
chore: handle unknown events gracefully
1 parent cc8e2b4 commit 694d1f1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -385,9 +385,8 @@ class Subscriptions {
385385
})
386386
result.amount.total = payment.sale_gross
387387
result.amount.method = payment.payment_method
388-
} else {
389-
return null
390388
}
389+
391390
return result
392391
})
393392
}

0 commit comments

Comments
 (0)