Skip to content

Commit

Permalink
ci: apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Oct 24, 2024
1 parent b27b29d commit af1c652
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/server/src/v1/monitors/trigger/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ export function registerTriggerMonitor(api: typeof monitorsApi) {
.where(
and(
eq(monitorRun.workspaceId, Number(workspaceId)),
gte(monitorRun.createdAt, new Date(lastMonth))
)
gte(monitorRun.createdAt, new Date(lastMonth)),
),
)
.all()
)[0].count;
Expand All @@ -73,8 +73,8 @@ export function registerTriggerMonitor(api: typeof monitorsApi) {
and(
eq(monitor.id, Number(id)),
eq(monitor.workspaceId, Number(workspaceId)),
isNull(monitor.deletedAt)
)
isNull(monitor.deletedAt),
),
)
.get();

Expand Down

0 comments on commit af1c652

Please sign in to comment.