[MIGRATION] - Ok this is really weird

This commit is contained in:
VitoAlbano 2024-08-23 01:06:57 +01:00 committed by Ehsan Rezaei
parent 0d071be1c4
commit 6c3dd1f14b
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,6 @@
"superagent": "^9.0.1",
"tslib": "^2.6.1"
},
"main": "./index.js",
"typings": "./typings/index.d.ts",
"module": "./esm5/index.js",
"es2015": "./esm2015/index.js"

View File

@ -22,7 +22,6 @@ import { ApiService } from '../../../shared/api/api.service';
import { ApiUtil } from '../../../shared/api/api.util';
export class Application {
requestApiHelper: E2eRequestApiHelper;
endPoint = `/deployment-service/v1/applications/`;
@ -57,6 +56,7 @@ export class Application {
return this.requestApiHelper.delete(`${this.endPoint}${applicationName}`);
} catch (error) {
Logger.error(`[Application] Undeploy application ${applicationName} failed with error: ${error.message}`);
return null;
}
};
return ApiUtil.waitForApi(apiCall, isApplicationUndeployed, 10, 3000);