From ac694cd7a2bd5a91da9365e339fd581e7abb371d Mon Sep 17 00:00:00 2001 From: Vito Albano Date: Fri, 16 Jun 2023 10:32:33 +0100 Subject: [PATCH] Fixing the end slash for the url otherwise the call will fail (#8674) --- lib/cli/scripts/init-aae-env.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/cli/scripts/init-aae-env.ts b/lib/cli/scripts/init-aae-env.ts index 1309cb3920..305a4f177b 100755 --- a/lib/cli/scripts/init-aae-env.ts +++ b/lib/cli/scripts/init-aae-env.ts @@ -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 = {};