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 Sep 16, 2024
1 parent e2022c6 commit 14ebc99
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apps/server/src/v1/check/post.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createRoute, z } from "@hono/zod-openapi";
import { createRoute, type z } from "@hono/zod-openapi";

import { db } from "@openstatus/db";
import { check } from "@openstatus/db/src/schema/check";
Expand Down Expand Up @@ -157,10 +157,10 @@ function getTiming(data: z.infer<typeof ResponseSchema>[]): ReturnGetTiming {
prev.dns.push(curr.timing.dnsDone - curr.timing.dnsStart);
prev.connect.push(curr.timing.connectDone - curr.timing.connectStart);
prev.tls.push(
curr.timing.tlsHandshakeDone - curr.timing.tlsHandshakeStart
curr.timing.tlsHandshakeDone - curr.timing.tlsHandshakeStart,
);
prev.firstByte.push(
curr.timing.firstByteDone - curr.timing.firstByteStart
curr.timing.firstByteDone - curr.timing.firstByteStart,
);
prev.transfer.push(curr.timing.transferDone - curr.timing.transferStart);
prev.latency.push(curr.latency);
Expand All @@ -173,7 +173,7 @@ function getTiming(data: z.infer<typeof ResponseSchema>[]): ReturnGetTiming {
firstByte: [],
transfer: [],
latency: [],
} as ReturnGetTiming
} as ReturnGetTiming,
);
}

Expand Down

0 comments on commit 14ebc99

Please sign in to comment.