Skip to content

Commit 4a602dd

Browse files
committed
feat: cancel stripe subscription
1 parent d07ed2b commit 4a602dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/nestjs-libraries/src/services/stripe.service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ export class StripeService {
223223
customer,
224224
status: 'all',
225225
})
226-
).data.filter((f) => f.status === 'active' || f.status === 'trialing'),
226+
).data,
227227
};
228228

229229
const { cancel_at } = await stripe.subscriptions.update(

0 commit comments

Comments
 (0)