diff --git a/ui/src/app/shared/api/task.service.ts b/ui/src/app/shared/api/task.service.ts index e04565619..17a54c5a0 100644 --- a/ui/src/app/shared/api/task.service.ts +++ b/ui/src/app/shared/api/task.service.ts @@ -258,7 +258,7 @@ export class TaskService { } const url = taskExecution?._links && taskExecution?._links['tasks/logs'] !== undefined ? taskExecution?._links['tasks/logs'].href : - UrlUtilities.calculateBaseApiUrl() + `tasks/logs/${taskExecution.externalExecutionId}${platform}&schemaTarget=${taskExecution.schemaTarget}`; + UrlUtilities.calculateBaseApiUrl() + `tasks/logs/${taskExecution.externalExecutionId}${platformName}&schemaTarget=${taskExecution.schemaTarget}`; const params = new HttpParams({encoder: new DataflowEncoder()}); return this.httpClient .get(url, {