Missed a reference to page limit
This commit is contained in:
@@ -18,7 +18,7 @@ const NewsEditor = props => {
|
|||||||
|
|
||||||
//run once
|
//run once
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
fetch(`${process.env.NEWS_URI}/news/metadata?limit=999`)
|
fetch(`${process.env.NEWS_URI}/news/metadata?page_size=999`)
|
||||||
.then(res => res.json())
|
.then(res => res.json())
|
||||||
.then(json => {
|
.then(json => {
|
||||||
setArticles(json)
|
setArticles(json)
|
||||||
|
|||||||
Reference in New Issue
Block a user