-
Notifications
You must be signed in to change notification settings - Fork 214
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
Hotfix for undefined
in Nuxt provider data
#3185
Conversation
Size Change: +120 B (0%) Total Size: 938 kB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good fix!
bccf4e8
to
b89e0dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can this have a unit test to check for the returned data type?
API should implement a fix to never returns undefined from /stats endpoint.
Also, there is no undefined
type in Python per see, it sounds strange 🤔
Based on the medium urgency of this PR, the following reviewers are being gently reminded to review this PR: @AetherUnbound Excluding weekend1 days, this PR was ready for review 7 day(s) ago. PRs labelled with medium urgency are expected to be reviewed within 4 weekday(s)2. @obulat, if this PR is not ready for a review, please draft it to prevent reviewers from getting further unnecessary pings. Footnotes
|
b89e0dc
to
a1cd360
Compare
beaf18d
to
503863a
Compare
503863a
to
d8f97ac
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks!
Fixes
Fixes #3184 by @sentry-io
Description
This PR logs a warning and returns
[]
fromgetProviderStats
if thedata
property in the/stats
endpoint returns undefined. This is only a fix for the frontend, and API should implement a fix to never returns undefined from/stats
endpoint.Testing Instructions
The CI should pass.
Checklist
Update index.md
).main
) or a parent feature branch.Developer Certificate of Origin
Developer Certificate of Origin