We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d76381a commit 65a698aCopy full SHA for 65a698a
packages/billing/src/api/webhookHandler.ts
@@ -180,8 +180,7 @@ export const webhookHandler = async (
180
if (
181
subscription.status === "past_due" &&
182
previous &&
183
- previous.status !== "past_due" &&
184
- !existingWorkspace.isPastDue
+ previous.status !== "past_due"
185
) {
186
await prisma.workspace.updateMany({
187
where: {
@@ -205,8 +204,7 @@ export const webhookHandler = async (
205
204
206
subscription.status === "unpaid" &&
207
208
- previous.status !== "unpaid" &&
209
- !existingWorkspace.isQuarantined
+ previous.status !== "unpaid"
210
211
await trackEvents(
212
existingWorkspace.members.map((m) => ({
0 commit comments