From 16703bb8ebac3ca41d3cb1d3a952fea84a9b9939 Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sun, 19 Apr 2026 17:33:39 +0200 Subject: [PATCH] fix(imports): correct import path for getAuthHeaders in product create and update routes --- frontend/app/api/products-create/route.ts | 2 +- frontend/app/api/products-update/[id]/route.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/app/api/products-create/route.ts b/frontend/app/api/products-create/route.ts index 10290c4a..4bcb114d 100644 --- a/frontend/app/api/products-create/route.ts +++ b/frontend/app/api/products-create/route.ts @@ -1,4 +1,4 @@ -import { getAuthHeaders } from '@/lib/auth-headers'; +import { getAuthHeaders } from '../../lib/auth-headers'; const API_BASE = process.env.NEXT_PUBLIC_API_URL_INTERNAL || 'http://recipe-api:8080'; diff --git a/frontend/app/api/products-update/[id]/route.ts b/frontend/app/api/products-update/[id]/route.ts index 158b37f0..4a60f99b 100644 --- a/frontend/app/api/products-update/[id]/route.ts +++ b/frontend/app/api/products-update/[id]/route.ts @@ -1,4 +1,4 @@ -import { getAuthHeaders } from '@/lib/auth-headers'; +import { getAuthHeaders } from '../../lib/auth-headers'; const API_BASE = process.env.NEXT_PUBLIC_API_URL_INTERNAL || 'http://recipe-api:8080';