From 2c9eb1e4633b204709dd8a18a9404fd86d6fcdc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Wysoki=C5=84ski?= Date: Fri, 3 Jun 2022 06:59:15 +0200 Subject: [PATCH] fix: add missing s to one route (#8) --- internal/api/handler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/api/handler.go b/internal/api/handler.go index 53fcf14..4ccdd46 100644 --- a/internal/api/handler.go +++ b/internal/api/handler.go @@ -17,7 +17,7 @@ func NewHandler(client *lubimyczytac.Client) *Handler { } func (h *Handler) Register(r chi.Router) { - r.Get("/api/v1/rss/author/{authorID}", h.getRSSAuthor) + r.Get("/api/v1/rss/authors/{authorID}", h.getRSSAuthor) } func (h *Handler) getRSSAuthor(w http.ResponseWriter, r *http.Request) {