fix: throw error on missing resource
This commit is contained in:
parent
15fa09615f
commit
3356fee27f
1 changed files with 0 additions and 9 deletions
|
|
@ -56,15 +56,6 @@ const GET_INFO = gql`
|
||||||
}
|
}
|
||||||
`
|
`
|
||||||
|
|
||||||
const GET_MACHINES = gql`
|
|
||||||
{
|
|
||||||
machines {
|
|
||||||
name
|
|
||||||
deviceId
|
|
||||||
}
|
|
||||||
}
|
|
||||||
`
|
|
||||||
|
|
||||||
const getMachineID = path => path.slice(path.lastIndexOf('/') + 1)
|
const getMachineID = path => path.slice(path.lastIndexOf('/') + 1)
|
||||||
|
|
||||||
const MachineRoute = () => {
|
const MachineRoute = () => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue