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

This commit is contained in:
2025-06-23 13:14:08 +03:00
parent 32acf36d8d
commit 9972c4211f

View File

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