strapi / foodadvisor

🥘 THE Strapi demo application
MIT License
1.09k stars 446 forks source link

Fix sanitize of response data for restaurant and reviews #83

Closed derrickmehaffy closed 3 years ago

derrickmehaffy commented 3 years ago

Added the sanitizeEntity function into the restaurant find and findOne as well as the review create.

Not sure if these custom controllers are needed anymore and if not feel free to close this out. Since we talked about it in the meeting figured I'd try to be the first to submit the PR :)

strapi-cla commented 3 years ago

CLA assistant check
All committers have signed the CLA.

Mcastres commented 3 years ago

Thanks for the PR Derrick but as discussed I don't think we'll need the custom controller anymore :/

derrickmehaffy commented 3 years ago

Thanks for the PR Derrick but as discussed I don't think we'll need the custom controller anymore :/

No problem, figured I'd throw this in just in case they were needed.