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 1294b04 commit d373adbCopy full SHA for d373adb
packages/api/src/router/stripe/webhook.ts
@@ -289,10 +289,7 @@ export const webhookRouter = createTRPCRouter({
289
for (const n of notifications.filter(
290
(n) => n.id !== keepNotification?.id,
291
)) {
292
- await tx
293
- .delete(notification)
294
- .where(eq(notification.id, n.id))
295
- .run();
+ await tx.delete(notification).where(eq(notification.id, n.id)).run();
296
}
297
298
// Remove all non-owner members from the workspace
0 commit comments