feat: D1 upgrade: deployment and migration process DONE!
This commit is contained in:
1 parent
0258ae1ddc
commit
3de3640d17
12 files changed
+278
-76
No files matched your search
+4
-1
@@ -49,7 +49,10 @@ export default async function handler(req: NextRequest): Promise<Response> {
|
||||
await getFromStore(process.env as any, 'state')
|
||||
)
|
||||
|
||||
const lastIncident = compactedState.getIncident(monitorId, compactedState.incidentLen(monitorId) - 1)
|
||||
const lastIncident = compactedState.getIncident(
|
||||
monitorId,
|
||||
compactedState.incidentLen(monitorId) - 1
|
||||
)
|
||||
const isUp = lastIncident?.end !== null
|
||||
|
||||
const badge: BadgePayload = {
|
||||
|
||||
Reference in new issue
Block a user