From 06fab751091ebc0cb9eac6d62f30e76e0c14aadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tobias=20Erbsh=C3=A4u=C3=9Fer?= Date: Tue, 16 Jun 2026 16:23:46 +0200 Subject: [PATCH] add more logging --- backend/blog.go | 4 ++++ 1 file changed, 4 insertions(+) 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{}{}) }