diff --git a/src/frontend/src/api.ts b/src/frontend/src/api.ts index 054bc90..508d9ab 100644 --- a/src/frontend/src/api.ts +++ b/src/frontend/src/api.ts @@ -18,6 +18,9 @@ export function _getProjectId(): string | null { return _currentProjectId; } +// Alias without underscore (OBS-37) +export const getProjectId = _getProjectId; + function projectId(): string { if (!_currentProjectId) throw new Error('No project selected'); return _currentProjectId;