Skip to content

Commit d373adb

Browse files
ci: apply automated fixes
1 parent 1294b04 commit d373adb

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

packages/api/src/router/stripe/webhook.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -289,10 +289,7 @@ export const webhookRouter = createTRPCRouter({
289289
for (const n of notifications.filter(
290290
(n) => n.id !== keepNotification?.id,
291291
)) {
292-
await tx
293-
.delete(notification)
294-
.where(eq(notification.id, n.id))
295-
.run();
292+
await tx.delete(notification).where(eq(notification.id, n.id)).run();
296293
}
297294

298295
// Remove all non-owner members from the workspace

0 commit comments

Comments
 (0)