Skip to content
This repository has been archived by the owner on Jun 28, 2022. It is now read-only.

The server does not update posted reviews at "localhost:1337/reviews/" #4

Open
skb1129 opened this issue Feb 1, 2018 · 3 comments
Open

Comments

@skb1129
Copy link

skb1129 commented Feb 1, 2018

When a review for a restaurant is posted at http://localhost:1337/reviews/, it is stored at http://localhost:1337/reviews/?restaurant_id=<restaurant_id> but not at http://localhost:1337/reviews/.
http://localhost:1337/reviews/ this URL only displays the initial reviews.

@cagigas
Copy link

cagigas commented Mar 7, 2018

It's well stored, the problem is the limit array. You can modify it in ./config/blueprints.js
defaultLimit: 50

@Cnordbo
Copy link

Cnordbo commented Apr 14, 2018

Or just fetch the reviews for a specific restaurant :)

@hallya
Copy link

hallya commented Jul 16, 2018

And uncomment the defaultLimit: whatever line, because otherwise you won't get the reviews when trying to fetch them all

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants