From 18065bf4cc8e786d1574a1018041f65ce27f7be0 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Wed, 8 Apr 2026 15:44:01 +0200 Subject: [PATCH] chore: add user id to watchlist log for better debugging --- internal/features/watchlist/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/features/watchlist/handler.go b/internal/features/watchlist/handler.go index 4d1c8b2..2cefb9d 100644 --- a/internal/features/watchlist/handler.go +++ b/internal/features/watchlist/handler.go @@ -47,7 +47,7 @@ func (h *Handler) HandleUpdateWatchlist(w http.ResponseWriter, r *http.Request) airingStr := r.FormValue("airing") airing := airingStr == "true" - log.Printf("watchlist add: id=%s, title=%s", animeIDStr, animeTitle) + log.Printf("watchlist add: user_id=%s, anime_id=%s, title=%s", user.ID, animeIDStr, animeTitle) animeID, err := strconv.ParseInt(animeIDStr, 10, 64) if err != nil {