✨ Get today's news
This commit is contained in:
@@ -19,6 +19,7 @@ func MapAPIs(app *fiber.App, baseURL string) {
|
||||
|
||||
news := api.Group("/news").Name("News")
|
||||
{
|
||||
news.Get("/today", getTodayNews)
|
||||
news.Get("/", listNewsArticles)
|
||||
news.Get("/:hash", getNewsArticle)
|
||||
}
|
||||
|
Reference in New Issue
Block a user