BOOTSTRAP_INVITE_DEADLINE verlängert

This commit is contained in:
itsrubberduck
2025-09-17 17:22:53 +02:00
parent c084e4da3a
commit f7fd70890c

View File

@@ -2,7 +2,7 @@ import { randomBytes } from 'node:crypto'
import { createError, readBody } from 'h3'
import { InvitationCode } from '../../../models/InvitationCode'
const CREATION_DEADLINE = new Date(process.env.BOOTSTRAP_INVITE_DEADLINE ?? '2024-07-01T00:00:00Z')
const CREATION_DEADLINE = new Date(process.env.BOOTSTRAP_INVITE_DEADLINE ?? '2025-10-01T00:00:00Z')
export default defineEventHandler(async (event) => {
const now = new Date()