Update system and compose api-clients

This commit is contained in:
Katrin Yordanova
2022-12-06 11:09:13 +02:00
parent a6d4befca8
commit 2c8e7ab6ba
2 changed files with 6 additions and 0 deletions
+3
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',
+3
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',