fix: add missing s to one route (#8)
This commit is contained in:
parent
a95b6f29b7
commit
2c9eb1e463
|
@ -17,7 +17,7 @@ func NewHandler(client *lubimyczytac.Client) *Handler {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (h *Handler) Register(r chi.Router) {
|
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) {
|
func (h *Handler) getRSSAuthor(w http.ResponseWriter, r *http.Request) {
|
||||||
|
|
Loading…
Reference in New Issue