Update system and compose api-clients
This commit is contained in:
parent
f1bc8b7a66
commit
391cc5560f
@ -288,6 +288,9 @@ export default class Compose {
|
|||||||
if (!namespaceID) {
|
if (!namespaceID) {
|
||||||
throw Error('field namespaceID is empty')
|
throw Error('field namespaceID is empty')
|
||||||
}
|
}
|
||||||
|
if (!name) {
|
||||||
|
throw Error('field name is empty')
|
||||||
|
}
|
||||||
const cfg: AxiosRequestConfig = {
|
const cfg: AxiosRequestConfig = {
|
||||||
...extra,
|
...extra,
|
||||||
method: 'post',
|
method: 'post',
|
||||||
|
|||||||
@ -1980,6 +1980,9 @@ export default class System {
|
|||||||
if (!applicationID) {
|
if (!applicationID) {
|
||||||
throw Error('field applicationID is empty')
|
throw Error('field applicationID is empty')
|
||||||
}
|
}
|
||||||
|
if (!name) {
|
||||||
|
throw Error('field name is empty')
|
||||||
|
}
|
||||||
const cfg: AxiosRequestConfig = {
|
const cfg: AxiosRequestConfig = {
|
||||||
...extra,
|
...extra,
|
||||||
method: 'put',
|
method: 'put',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user