diff --git a/api/http/handler/edgejobs/edgejob_tasklogs_collect.go b/api/http/handler/edgejobs/edgejob_tasklogs_collect.go index e2b1cb326..cb2626411 100644 --- a/api/http/handler/edgejobs/edgejob_tasklogs_collect.go +++ b/api/http/handler/edgejobs/edgejob_tasklogs_collect.go @@ -75,7 +75,7 @@ func (handler *Handler) edgeJobTasksCollect(w http.ResponseWriter, r *http.Reque return httperror.BadRequest("Async Edge Endpoints are not supported in Portainer CE", nil) } - handler.ReverseTunnelService.AddEdgeJob(endpointID, edgeJob) + handler.ReverseTunnelService.AddEdgeJob(endpoint, edgeJob) return response.Empty(w) }