From 108c6548977dee504f60fd73ee871aa10b72596c Mon Sep 17 00:00:00 2001 From: cfdaily Date: Tue, 19 May 2026 15:31:34 +0800 Subject: [PATCH] auto-sync: 2026-05-19 15:31:34 --- src/frontend/src/api.ts | 3 +++ 1 file changed, 3 insertions(+) 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;