From 2a412406e2b93771ffd99f70ffd752a4ebf4047f Mon Sep 17 00:00:00 2001 From: Nils-Johan Gynther Date: Sun, 19 Apr 2026 17:36:11 +0200 Subject: [PATCH] fix(imports): update import path for auth module 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 55eafe50..4b5b19e6 100644 --- a/frontend/app/api/products-create/route.ts +++ b/frontend/app/api/products-create/route.ts @@ -1,4 +1,4 @@ -import { auth } from '../../auth'; +import { auth } from '../../../auth.ts'; 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 81837983..14dad258 100644 --- a/frontend/app/api/products-update/[id]/route.ts +++ b/frontend/app/api/products-update/[id]/route.ts @@ -1,4 +1,4 @@ -import { auth } from '../../../auth'; +import { auth } from '../../../../auth.ts'; const API_BASE = process.env.NEXT_PUBLIC_API_URL_INTERNAL || 'http://recipe-api:8080';