diff --git a/backend/blog.go b/backend/blog.go index a656a0c..188dbd2 100644 --- a/backend/blog.go +++ b/backend/blog.go @@ -376,6 +376,8 @@ func (h *ApiHandler) ServeBlogPostPublish(writer http.ResponseWriter, request *h return } + log.Printf("Published blog article %d", id) + WriteResponse(writer, http.StatusOK, map[string]interface{}{}) } @@ -397,6 +399,8 @@ func (h *ApiHandler) ServeBlogPostUnpublish(writer http.ResponseWriter, request return } + log.Printf("Unpublished blog article %d", id) + WriteResponse(writer, http.StatusOK, map[string]interface{}{}) }