diff --git a/internal/api/entry.go b/internal/api/entry.go index e6158c30..d3606035 100644 --- a/internal/api/entry.go +++ b/internal/api/entry.go @@ -336,7 +336,7 @@ func (h *handler) fetchContent(w http.ResponseWriter, r *http.Request) { return } - json.OK(w, r, map[string]string{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content), "reading_time": entry.ReadingTime}) + json.OK(w, r, map[string]interface{}{"content": mediaproxy.RewriteDocumentWithRelativeProxyURL(h.router, entry.Content), "reading_time": entry.ReadingTime}) } func (h *handler) flushHistory(w http.ResponseWriter, r *http.Request) {