mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
fix(cp-gql-mock-server): return object for deploymentGroup()
This commit is contained in:
parent
66c7e2d444
commit
03e19d4a6a
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user