Updated news json url

• Updated:
- news json url
This commit is contained in:
mgabdev 2020-11-09 19:08:12 -06:00
parent 1ef59c2266
commit 62515bbaee
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ export const fetchGabNews = () => (dispatch, getState) => {
dispatch(fetchGabNewsRequest()) dispatch(fetchGabNewsRequest())
const url = 'https://news.gab.com/feed/json' const url = 'https://news.gab.com/feed/?feed=json'
// api(getState).get(`/api/v1/gab_trends?type=news`).then((response) => { // api(getState).get(`/api/v1/gab_trends?type=news`).then((response) => {
axios.get(url).then((response) => { axios.get(url).then((response) => {
dispatch(fetchGabNewsSuccess(response.data.items)) dispatch(fetchGabNewsSuccess(response.data.items))