diff options
Diffstat (limited to 'internal/admin/api_objects.go')
| -rw-r--r-- | internal/admin/api_objects.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/internal/admin/api_objects.go b/internal/admin/api_objects.go index 01a0803..7bcda1c 100644 --- a/internal/admin/api_objects.go +++ b/internal/admin/api_objects.go @@ -95,6 +95,7 @@ func (s *AdminServer) updateObject(w http.ResponseWriter, r *http.Request, id st http.Error(w, `{"error":"failed to write object"}`, http.StatusInternalServerError) return } + m["_raw"] = string(newContent) s.undoStack.Push(ChangeDesc{ Description: fmt.Sprintf("Update object %s", id), |
