fix: add missing s to one route

This commit is contained in:
Dawid Wysokiński 2022-06-03 06:57:25 +02:00
parent a95b6f29b7
commit 96d28f6d87
Signed by: Kichiyaki
GPG Key ID: 1ECC5DE481BE5184
1 changed files with 1 additions and 1 deletions

View File

@ -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) {