diff --git a/app/api/admin/department-reset/route.ts b/app/api/admin/department-reset/route.ts index cce30df..2290602 100644 --- a/app/api/admin/department-reset/route.ts +++ b/app/api/admin/department-reset/route.ts @@ -32,7 +32,7 @@ export async function POST(request: NextRequest) { )) as any[] if (lastReset.length > 0) { - const cooldownMs = 30 * 1000 // 30 seconds + const cooldownMs = 30 * 10 // 30 seconds const lastResetTime = new Date(lastReset[0].timestamp).getTime() const now = new Date().getTime() const timeSinceReset = now - lastResetTime