Add viewId parameter to fetchProjects query
This commit is contained in:
@@ -4,8 +4,7 @@ const API_TOKEN = import.meta.env.VITE_API_TOKEN;
|
|||||||
|
|
||||||
export const getAuthHeaders = () => ({
|
export const getAuthHeaders = () => ({
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"xc-token": API_TOKEN, // NocoDB style
|
Authorization: `Bearer ${API_TOKEN}`,
|
||||||
Authorization: `Bearer ${API_TOKEN}`, // fallback por si el backend usa Bearer
|
|
||||||
});
|
});
|
||||||
|
|
||||||
export interface ProjectRecord {
|
export interface ProjectRecord {
|
||||||
|
|||||||
Reference in New Issue
Block a user