Update app/api/admin/department-reset/route.ts
This commit is contained in:
1 parent
32acf36d8d
commit
9972c4211f
1 file changed
+1
-1
@@ -45,7 +45,7 @@ export async function POST(request: NextRequest) {
|
||||
})
|
||||
|
||||
if (timeSinceReset < cooldownMs) {
|
||||
const remainingSeconds = Math.ceil((cooldownMs - timeSinceReset) / 10)
|
||||
const remainingSeconds = Math.ceil((cooldownMs - timeSinceReset) / 1000)
|
||||
return NextResponse.json(
|
||||
{
|
||||
error: `יש להמתין ${remainingSeconds} שניות בין איפוסי מסגרת`,
|
||||
|
||||
Reference in new issue
Block a user