archicore 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -554,7 +554,7 @@ async function handleIndexCommand() {
|
|
|
554
554
|
});
|
|
555
555
|
if (response.ok) {
|
|
556
556
|
const data = await response.json();
|
|
557
|
-
state.projectId = data.id || data.project
|
|
557
|
+
state.projectId = data.id || (data.project && data.project.id) || null;
|
|
558
558
|
registerSpinner.succeed('Project registered');
|
|
559
559
|
}
|
|
560
560
|
else {
|