feat(cloudapi-gql): resolve Machine package
This commit is contained in:
parent
e3dbb9086c
commit
37c865687b
@ -115,7 +115,7 @@ const resolvers = {
|
||||
networks: ({ networks }) =>
|
||||
Promise.all(networks.map(id => resolvers.Query.network(null, { id }))),
|
||||
// eslint-disable-next-line camelcase
|
||||
package: (root) => resolvers.Query.package(null, { name: root.package }),
|
||||
package: root => resolvers.Query.package(null, { name: root.package }),
|
||||
snapshots: ({ id }, { name }) =>
|
||||
resolvers.Query.snapshots(null, { machine: id, name }),
|
||||
// eslint-disable-next-line camelcase
|
||||
|
Loading…
Reference in New Issue
Block a user