fix: enforce WORKSPACES_ROOT in folder browser and folder creation

This commit is contained in:
Haileyesus
2026-01-28 22:12:20 +03:00
parent ede56ad81b
commit bbb51dbf99
3 changed files with 43 additions and 26 deletions

View File

@@ -183,7 +183,7 @@ const ProjectCreationWizard = ({ onClose, onProjectCreated }) => {
const data = await response.json();
if (!response.ok) {
throw new Error(data.error || t('projectWizard.errors.failedToCreate'));
throw new Error(data.details || data.error || t('projectWizard.errors.failedToCreate'));
}
if (onProjectCreated) {