mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +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 = {
|
module.exports = {
|
||||||
portal: getPortal,
|
portal: getPortal,
|
||||||
deploymentGroups: getDeploymentGroups,
|
deploymentGroups: getDeploymentGroups,
|
||||||
deploymentGroup: query => getDeploymentGroups(query),
|
deploymentGroup: query => getDeploymentGroups(query).then(dgs => dgs.shift()),
|
||||||
services: getServices,
|
services: getServices,
|
||||||
service: query => getServices(query).then(services => services.shift()),
|
service: query => getServices(query).then(services => services.shift()),
|
||||||
instances: getInstances,
|
instances: getInstances,
|
||||||
|
Loading…
Reference in New Issue
Block a user