mirror of
https://github.com/documize/community.git
synced 2025-07-24 15:49:44 +02:00
sidebar position
This commit is contained in:
parent
9e20a5f085
commit
d45aa70157
3 changed files with 7 additions and 6 deletions
|
@ -748,7 +748,9 @@ 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.Error(method, err)
|
||||
h.Runtime.Log.Info(method + " no record")
|
||||
meta = page.Meta{}
|
||||
response.WriteJSON(w, meta)
|
||||
return
|
||||
}
|
||||
if err != nil {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue