mirror of
https://github.com/unraid/api.git
synced 2026-01-10 10:40:04 -06:00
fix: typo
This commit is contained in:
@@ -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: '*' }
|
||||
]
|
||||
};
|
||||
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user