Skip to content

Commit

Permalink
Merge pull request #401 from bounswe/featured-frontend
Browse files Browse the repository at this point in the history
Use featured endpoint for index cultural heritages
  • Loading branch information
yigitozkavci authored Dec 7, 2017
2 parents 0f3ab4d + e3fd9ab commit 23e1032
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Atlas/frontend/src/containers/CulturalHeritage/Index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const mapDispatchToProps = dispatch => {
dispatch(fetchCH());
axios({
method: 'get',
url: API_URL + '/cultural_heritage_item',
url: API_URL + '/cultural_heritage_item/featured',
headers: { 'Authorization': 'JWT ' + token },
params: { limit: CULTURAL_HERITAGE_PAGINATION_LIMIT }
}).then(resp => {
Expand Down

0 comments on commit 23e1032

Please sign in to comment.