diff --git a/src/commands/api-mesh/create.js b/src/commands/api-mesh/create.js index ce16f82..87a1791 100644 --- a/src/commands/api-mesh/create.js +++ b/src/commands/api-mesh/create.js @@ -130,7 +130,7 @@ class CreateCommand extends Command { if (shouldContinue) { try { - const { mesh, apiKey, sdkList } = await createMesh( + const { mesh } = await createMesh( imsOrgId, projectId, workspaceId, @@ -158,12 +158,8 @@ class CreateCommand extends Command { this.log('Mesh Endpoint: %s', meshUrl); // When renaming the return values, make sure to make necessary changes to - // template adobe/generator-app-api-mesh since it relies on "mesh" & "apiKey" - return { - mesh, - apiKey, - sdkList, - }; + // template adobe/generator-app-api-mesh since it relies on "mesh" + return { mesh }; } else { this.error(`Unable to create a mesh. Please try again. RequestId: ${global.requestId}`, { exit: false, diff --git a/src/lib/devConsole.js b/src/lib/devConsole.js index 93f9b32..37eb33b 100644 --- a/src/lib/devConsole.js +++ b/src/lib/devConsole.js @@ -90,7 +90,7 @@ const describeMesh = async (organizationId, projectId, workspaceId, workspaceNam logger.info('Response from getMeshId %s', meshId); - return { meshId, apiKey: null }; + return { meshId }; } catch (error) { logger.error(error); @@ -258,8 +258,6 @@ const createMesh = async ( return { mesh: response.data, - apiKey: null, - sdkList: null, }; } else { // Non 201 response received