diff --git a/packages/cp-gql-mock-server/src/resolvers.js b/packages/cp-gql-mock-server/src/resolvers.js index 8a82be11..9f9548f3 100644 --- a/packages/cp-gql-mock-server/src/resolvers.js +++ b/packages/cp-gql-mock-server/src/resolvers.js @@ -103,7 +103,7 @@ const createServicesFromManifest = ({ deploymentGroupId, raw }) => { module.exports = { portal: getPortal, deploymentGroups: getDeploymentGroups, - deploymentGroup: query => getDeploymentGroups(query), + deploymentGroup: query => getDeploymentGroups(query).then(dgs => dgs.shift()), services: getServices, service: query => getServices(query).then(services => services.shift()), instances: getInstances,