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 Nov 7, 2024
1 parent 61ebbba commit 944802c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions apps/server/src/v1/monitors/run/post.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,8 @@ export function registerRunMonitor(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 @@ -85,8 +85,8 @@ export function registerRunMonitor(api: typeof monitorsApi) {
and(
eq(monitor.id, Number(id)),
eq(monitor.workspaceId, Number(workspaceId)),
isNull(monitor.deletedAt)
)
isNull(monitor.deletedAt),
),
)
.get();

Expand Down
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 944802c

Please sign in to comment.