fix: typo

This commit is contained in:
Alexis Tyler
2021-07-14 12:28:29 +09:30
parent 95d7f99643
commit 5d06f227ef
3 changed files with 4 additions and 4 deletions

View File

@@ -89,7 +89,7 @@ export const my_servers = {
{ resource: 'machine-id', action: 'read:any', attributes: '*' },
{ resource: 'software-versions', action: 'read:any', attributes: '*' },
{ resource: 'vars', action: 'read:any', attributes: '*' },
{ resource: 'vm/domain', action: 'read:any', attributes: '*' }
{ resource: 'vms/domain', action: 'read:any', attributes: '*' }
]
};

View File

@@ -41,8 +41,8 @@ const files = [
'./dist/types/graphql/schema/types/users/me.graphql',
'./dist/types/graphql/schema/types/users/user.graphql',
'./dist/types/graphql/schema/types/vars/vars.graphql',
'./dist/types/graphql/schema/types/vm/domain.graphql',
'./dist/types/graphql/schema/types/vm/network.graphql'
'./dist/types/graphql/schema/types/vms/domain.graphql',
'./dist/types/graphql/schema/types/vms/network.graphql'
].map(file => readFileSync(file, 'utf8'));
export const typeDefs = mergeTypeDefs(files);

View File

@@ -1,7 +1,7 @@
type Query {
# @todo finish this
"""Virtual network for vms"""
vmNetwork(name: String!): JSON @func(module: "vm/domain/network/get-network")
vmNetwork(name: String!): JSON @func(module: "vms/domain/network/get-network")
# """Virtual networks for vms"""
# vmNetworks: [VmNetwork]
}