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

fix: response for wrong filter directions can now be unmarshaled #1037

Merged
merged 1 commit into from
May 21, 2024

Conversation

morremeyer
Copy link
Member

Requesting a transaction list with an invalid direction led to a response that was not valid JSON.

This was due to the Unmarshaling in tests not being done correctly.

This PR resolves the Unmarshal error and the broken response at the same time.

@morremeyer morremeyer requested a review from a team as a code owner May 8, 2024 13:36
@morremeyer morremeyer enabled auto-merge (squash) May 8, 2024 13:37
Copy link

codecov bot commented May 8, 2024

Codecov Report

Attention: Patch coverage is 50.00000% with 1 lines in your changes are missing coverage. Please review.

Project coverage is 80.90%. Comparing base (b30d9e5) to head (3d54722).

Files Patch % Lines
test/request.go 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1037   +/-   ##
=======================================
  Coverage   80.89%   80.90%           
=======================================
  Files          53       53           
  Lines        3921     3922    +1     
=======================================
+ Hits         3172     3173    +1     
  Misses        599      599           
  Partials      150      150           

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

@morremeyer morremeyer force-pushed the fix/filter-direction-errors branch from 6818af5 to 3d54722 Compare May 21, 2024 07:44
@morremeyer morremeyer merged commit 51babd0 into main May 21, 2024
6 checks passed
@morremeyer morremeyer deleted the fix/filter-direction-errors branch May 21, 2024 07:47
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.

1 participant