Skip to content

Commit

Permalink
Up check
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiahub committed Aug 8, 2023
1 parent 7ff3616 commit 39cce1f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/src/app/shared/api/task.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,11 @@ export class TaskService {
}
});
}
const url = taskExecution?._links && taskExecution?._links['tasks/logs']
? taskExecution?._links['tasks/logs'].href :
UrlUtilities.calculateBaseApiUrl() + `tasks/logs/${taskExecution.externalExecutionId}?platformName=${platform}&schemaTarget=${taskExecution.schemaTarget}`;
return this.httpClient
.get<any>(taskExecution?._links['tasks/logs'].href, {
.get<any>(url, {
headers
})
.pipe(catchError(ErrorUtils.catchError));
Expand Down

0 comments on commit 39cce1f

Please sign in to comment.