fix: Resolve build errors (linting and types)

This commit is contained in:
2025-12-07 19:20:31 +03:00
parent b189a19651
commit 7fb9347528
14 changed files with 32 additions and 17 deletions

View File

@@ -5,7 +5,7 @@ export async function logAction(
action: string,
entityType: string,
entityId: string,
details?: any
details?: Record<string, unknown>
) {
const supabase = await createClient()
const { data: { user } } = await supabase.auth.getUser()

View File

@@ -15,7 +15,7 @@ export async function updateSession(request: NextRequest) {
return request.cookies.getAll()
},
setAll(cookiesToSet) {
cookiesToSet.forEach(({ name, value, options }) =>
cookiesToSet.forEach(({ name, value }) =>
request.cookies.set(name, value)
)
supabaseResponse = NextResponse.next({