Return uploaded process config

This commit is contained in:
Ingo Oppermann 2024-07-19 16:02:17 +02:00
parent b160e604d2
commit a3948b597d
No known key found for this signature in database
GPG Key ID: 2AB32426E9DD229E

View File

@ -350,9 +350,7 @@ func (h *ProcessHandler) Update(c echo.Context) error {
h.restream.SetProcessMetadata(tid, key, data)
}
p, _ := h.getProcess(tid, newFilter("config"))
return c.JSON(http.StatusOK, p.Config)
return c.JSON(http.StatusOK, process)
}
// Command issues a command to a process