3
0

Update system and compose api-clients

This commit is contained in:
Katrin Yordanova 2022-12-06 11:08:31 +02:00
parent f1bc8b7a66
commit 391cc5560f
2 changed files with 6 additions and 0 deletions

View File

@ -288,6 +288,9 @@ export default class Compose {
if (!namespaceID) {
throw Error('field namespaceID is empty')
}
if (!name) {
throw Error('field name is empty')
}
const cfg: AxiosRequestConfig = {
...extra,
method: 'post',

View File

@ -1980,6 +1980,9 @@ export default class System {
if (!applicationID) {
throw Error('field applicationID is empty')
}
if (!name) {
throw Error('field name is empty')
}
const cfg: AxiosRequestConfig = {
...extra,
method: 'put',