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

Return 204 when there is no data #790

Merged
merged 9 commits into from
Aug 8, 2024
Merged

Return 204 when there is no data #790

merged 9 commits into from
Aug 8, 2024

Conversation

andresuribe87
Copy link
Contributor

@andresuribe87 andresuribe87 commented Aug 7, 2024

Fixes #695

Additionally, changes the scripts.test value so that source maps are correct and point to the actual implementation files instead of the transpiled JS files.

@codecov-commenter
Copy link

codecov-commenter commented Aug 7, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.69%. Comparing base (bb09ebe) to head (9599803).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #790   +/-   ##
=======================================
  Coverage   98.69%   98.69%           
=======================================
  Files          73       73           
  Lines       11264    11269    +5     
  Branches     1609     1612    +3     
=======================================
+ Hits        11117    11122    +5     
  Misses        141      141           
  Partials        6        6           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@andresuribe87
Copy link
Contributor Author

@LiranCohen ready for review. Would appreciate some 👀 !

LiranCohen
LiranCohen previously approved these changes Aug 7, 2024
Copy link
Member

@LiranCohen LiranCohen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome stuff!! Just a small nit if you can think of a good blurb to go above it explaining why we return a different code for that reason.

@andresuribe87
Copy link
Contributor Author

@LiranCohen is it cool to merge bypassing branch protections?

@thehenrytsai
Copy link
Member

NOTE: The CVE was discovered in, and is being fixed by this PR waiting to be merged:

indutny/elliptic#317

Therefore I am bypassing the branch protections for merging this.

@thehenrytsai thehenrytsai merged commit a7543fc into main Aug 8, 2024
3 of 4 checks passed
@thehenrytsai thehenrytsai deleted the issue_695 branch August 8, 2024 17:06
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.

RecordsWrite with no data should return a 204 status code.
4 participants