feat: add Sentry source map upload configuration and update environment variables

This commit is contained in:
2026-01-17 17:07:50 -08:00
parent a14816c8ee
commit e6d383103c
26 changed files with 207 additions and 51 deletions

View File

@@ -33,7 +33,9 @@ export const useActivityLogQuery = (limit: number = 20, offset: number = 0) => {
throw new Error(error.message || 'Failed to fetch activity log');
}
return response.json();
const json = await response.json();
// API returns { success: true, data: [...] }, extract the data array
return json.data ?? json;
},
// Activity log changes frequently, keep stale time short
staleTime: 1000 * 30, // 30 seconds