Cleaned up stripe service init syntax

no issue

- It's super hard to read long lines and not that great tracking changes when an array is in a single line declaraion
This commit is contained in:
Naz 2022-07-25 12:57:56 +01:00
parent 396bc865a9
commit 7c3ca9a26d

View File

@ -25,7 +25,15 @@ const debouncedConfigureApi = _.debounce(() => {
module.exports = new StripeService({
membersService,
models: _.pick(models, ['Product', 'StripePrice', 'StripeCustomerSubscription', 'StripeProduct', 'MemberStripeCustomer', 'Offer', 'Settings']),
models: _.pick(models, [
'Product',
'StripePrice',
'StripeCustomerSubscription',
'StripeProduct',
'MemberStripeCustomer',
'Offer',
'Settings'
]),
StripeWebhook: {
async get() {
return {