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: EventResult should await OK response #299

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iFergal
Copy link
Contributor

@iFergal iFergal commented Dec 30, 2024

In places, we were still passing a Promise<Response> to EventResult. This is problematic because if a non 2xx code is returned as the fetch call will reject after the function has returned.

Copy link

codecov bot commented Dec 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.63%. Comparing base (f368351) to head (373e1d0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #299      +/-   ##
==========================================
- Coverage   83.63%   83.63%   -0.01%     
==========================================
  Files          48       48              
  Lines        4235     4234       -1     
  Branches     1055     1055              
==========================================
- Hits         3542     3541       -1     
- Misses        663      689      +26     
+ Partials       30        4      -26     

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

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