diff --git a/src/api/index.ts b/src/api/index.ts index 4ec94ee3..d01fb881 100644 --- a/src/api/index.ts +++ b/src/api/index.ts @@ -44,7 +44,11 @@ export default api export async function fetchGlobalSettings() { try { - const result: { [key: string]: any } = await api.get('system/global') + const result: { [key: string]: any } = await api.get('system/global', { + params: { + token: 'moviepilot', + }, + }) return result.data || {} } catch (error) { console.error('Failed to fetch global settings', error)