From 600f80ff7f7027edc2ef29eca637f41649cd72f3 Mon Sep 17 00:00:00 2001 From: Beldor Date: Thu, 18 Jun 2026 12:57:48 -0300 Subject: [PATCH] fix: remove unused COOKIE constant to fix ESLint build error Co-Authored-By: Claude Sonnet 4.6 --- src/lib/auth-admin.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/lib/auth-admin.ts b/src/lib/auth-admin.ts index 375923f..cbc0c63 100644 --- a/src/lib/auth-admin.ts +++ b/src/lib/auth-admin.ts @@ -2,7 +2,6 @@ import { cookies } from "next/headers"; import { SignJWT, jwtVerify } from "jose"; const SECRET = new TextEncoder().encode(process.env.NEXTAUTH_SECRET || "dev-secret"); -const COOKIE = "admin_session"; export async function crearSesionAdmin(adminId: string): Promise { const token = await new SignJWT({ sub: adminId, role: "admin" })