diff --git a/src-shared/db-enum.js b/src-shared/db-enum.js index 05318b7f68..4e9a9ccc53 100644 --- a/src-shared/db-enum.js +++ b/src-shared/db-enum.js @@ -39,7 +39,8 @@ exports.rootNode = { endpointId: 0, getParentEndpointIdentifier: null, deviceVersion: 1, - type: 'rootNode' + type: 'rootNode', + profileID: 259 } exports.packageOptionCategory = { diff --git a/src/store/zap/actions.js b/src/store/zap/actions.js index 4c030b8d6f..c7c714663f 100644 --- a/src/store/zap/actions.js +++ b/src/store/zap/actions.js @@ -480,7 +480,8 @@ export async function loadComposition(context) { let endpoint = await addEndpoint(context, { endpointId: dbEnum.rootNode.endpointId, parentEndpointIdentifier: dbEnum.rootNode.parentEndpointIdentifier, - endpointType: endpointTypeData.id + endpointType: endpointTypeData.id, + profileId: dbEnum.rootNode.profileID }) return endpoint }