From fab39f099da6090e9261ebea919e8da2b9f7290e Mon Sep 17 00:00:00 2001 From: Exteban08 Date: Thu, 8 Jan 2026 18:02:42 +0000 Subject: [PATCH] Add viewId parameter to fetchProjects query --- src/api/projects.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/api/projects.ts b/src/api/projects.ts index a7db656..37cda9d 100644 --- a/src/api/projects.ts +++ b/src/api/projects.ts @@ -4,8 +4,7 @@ const API_TOKEN = import.meta.env.VITE_API_TOKEN; export const getAuthHeaders = () => ({ "Content-Type": "application/json", - "xc-token": API_TOKEN, // NocoDB style - Authorization: `Bearer ${API_TOKEN}`, // fallback por si el backend usa Bearer + Authorization: `Bearer ${API_TOKEN}`, }); export interface ProjectRecord {