From e89e05c6e8be7416dd2e2aa1e88de65b875d1501 Mon Sep 17 00:00:00 2001 From: mkelvers Date: Sat, 2 May 2026 16:14:13 +0200 Subject: [PATCH] style: normalize formatting in handler --- api/anime/handler.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/anime/handler.go b/api/anime/handler.go index 196dfb7..1b8d753 100644 --- a/api/anime/handler.go +++ b/api/anime/handler.go @@ -150,7 +150,7 @@ func (h *Handler) HandleBrowse(w http.ResponseWriter, r *http.Request) { if err := templates.GetRenderer().ExecuteTemplate(w, "browse.gohtml", map[string]any{ "User": user, - "CurrentPath": r.URL.Path, + "CurrentPath": r.URL.Path, "Query": q, "Type": animeType, "Status": status, @@ -250,9 +250,9 @@ func (h *Handler) HandleHTMLWatchOrder(w http.ResponseWriter, r *http.Request) { } if err := templates.GetRenderer().ExecuteFragment(w, "anime.gohtml", "watch_order", map[string]any{ - "Relations": relations, - "AnimeID": id, - "WatchlistMap": watchlistMap, + "Relations": relations, + "AnimeID": id, + "WatchlistMap": watchlistMap, }); err != nil { log.Printf("render error: %v", err) }