Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set default rating to 0 if the key doesn't exists #15

Merged
merged 1 commit into from
May 28, 2021

Conversation

nikola-n
Copy link
Contributor

While testing this API before usage I run after a weird issue. The website that I was testing contained reviews without a rating. This happened when I used the withMigrated function to get older reviews. I guess back then the users could somehow submit a review without giving a rating 😄

image

issue - #14

@mvdnbrk mvdnbrk merged commit 5a235a5 into mvdnbrk:2.0 May 28, 2021
@mvdnbrk
Copy link
Owner

mvdnbrk commented May 28, 2021

Thanks!

@mvdnbrk mvdnbrk linked an issue May 28, 2021 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Undefined index: rating
2 participants