From b8475cdffe968bbbdab8b9395d36bfae4b1fc7fe Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sun, 19 Apr 2026 18:56:44 +0200 Subject: [PATCH] fix(actions): correct console log formatting in updateProductWithTags function --- frontend/app/admin/products/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/app/admin/products/actions.ts b/frontend/app/admin/products/actions.ts index d6ecb77d..7ff17bba 100644 --- a/frontend/app/admin/products/actions.ts +++ b/frontend/app/admin/products/actions.ts @@ -76,7 +76,7 @@ export async function updateProductWithTags(formData: FormData, tags: string[]) if (brand.length > 100) throw new Error('Varumärke får inte vara längre än 100 tecken.'); const authHeaders = await getAuthHeaders(); - console.log('[actions:updateProductWithTags] auth headers present:', !!authHeaders.Authorization);\n + console.log('[actions:updateProductWithTags] auth headers present:', !!authHeaders.Authorization); const res = await fetch(`${API_BASE}/api/products/${id}`, { method: 'PATCH', headers: { 'Content-Type': 'application/json', ...authHeaders },