fix: add missing s to one route (#8)

This commit is contained in:
Dawid Wysokiński 2022-06-03 06:59:15 +02:00 committed by GitHub
parent a95b6f29b7
commit 2c9eb1e463
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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) {