Fixing the end slash for the url otherwise the call will fail (#8674)

This commit is contained in:
Vito Albano
2023-06-16 10:32:33 +01:00
committed by GitHub
parent f915370bc0
commit ac694cd7a2

View File

@@ -80,7 +80,7 @@ async function healthCheck(nameService: string) {
}
async function getApplicationByStatus(status: string) {
const url = `${args.host}/deployment-service/v1/applications/`;
const url = `${args.host}/deployment-service/v1/applications`;
const pathParams = {};
const queryParams = { status };
@@ -250,7 +250,7 @@ function deleteDescriptor(name: string) {
}
function deploy(model: any) {
const url = `${args.host}/deployment-service/v1/applications/`;
const url = `${args.host}/deployment-service/v1/applications`;
const pathParams = {};
const queryParams = {};