raghavNCI commited on
Commit
f8db5c2
·
1 Parent(s): b8e765e

added content as a return

Browse files
Files changed (1) hide show
  1. routes.py +1 -0
routes.py CHANGED
@@ -32,6 +32,7 @@ def get_news_by_category(category: str, limit: int = 5):
32
  "title": article["title"],
33
  "url": article["url"],
34
  "description": article.get("description"),
 
35
  "publishedAt": article["publishedAt"],
36
  "image": article.get("image"),
37
  "source": article["source"]["name"]
 
32
  "title": article["title"],
33
  "url": article["url"],
34
  "description": article.get("description"),
35
+ "content": article.get("content"),
36
  "publishedAt": article["publishedAt"],
37
  "image": article.get("image"),
38
  "source": article["source"]["name"]