Update app/api/admin/department-reset/route.ts

This commit is contained in:
2025-06-23 13:06:53 +03:00
parent ba050ca243
commit 32acf36d8d

View File

@@ -45,7 +45,7 @@ export async function POST(request: NextRequest) {
}) })
if (timeSinceReset < cooldownMs) { if (timeSinceReset < cooldownMs) {
const remainingSeconds = Math.ceil((cooldownMs - timeSinceReset) / 1000) const remainingSeconds = Math.ceil((cooldownMs - timeSinceReset) / 10)
return NextResponse.json( return NextResponse.json(
{ {
error: `יש להמתין ${remainingSeconds} שניות בין איפוסי מסגרת`, error: `יש להמתין ${remainingSeconds} שניות בין איפוסי מסגרת`,