mirror of
https://github.com/documize/community.git
synced 2025-07-19 05:09:42 +02:00
Remove duplicate response header write
This commit is contained in:
parent
c5acaae677
commit
97cc5374f0
1 changed files with 0 additions and 1 deletions
|
@ -294,7 +294,6 @@ func (h *Handler) GetMeta(w http.ResponseWriter, r *http.Request) {
|
|||
|
||||
meta, err := h.Store.Page.GetPageMeta(ctx, pageID)
|
||||
if err == sql.ErrNoRows {
|
||||
response.WriteNotFoundError(w, method, pageID)
|
||||
h.Runtime.Log.Info(method + " no record")
|
||||
meta = page.Meta{}
|
||||
response.WriteJSON(w, meta)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue