Alkaar / resy-booking-bot

🔫 Helps to snipe hard to get reservations at restaurants that use resy
411 stars 215 forks source link

fix: add missing origin request header #104

Closed sagibb closed 1 year ago

sagibb commented 1 year ago

The final booking post request now needs an origin header or else it fails with an Internal Server Error.

codecov[bot] commented 1 year ago

Codecov Report

Patch coverage: 40.00% and project coverage change: -1.00 :warning:

Comparison is base (a47c4f0) 58.62% compared to head (a3e5e3f) 57.62%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #104 +/- ## ========================================== - Coverage 58.62% 57.62% -1.00% ========================================== Files 5 5 Lines 116 118 +2 Branches 2 0 -2 ========================================== Hits 68 68 - Misses 48 50 +2 ``` | [Impacted Files](https://codecov.io/gh/Alkaar/resy-booking-bot/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Fong) | Coverage Δ | | |---|---|---| | [src/main/scala/com/resy/ResyApi.scala](https://codecov.io/gh/Alkaar/resy-booking-bot/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Fong#diff-c3JjL21haW4vc2NhbGEvY29tL3Jlc3kvUmVzeUFwaS5zY2FsYQ==) | `0.00% <0.00%> (ø)` | | | [src/main/scala/com/resy/ResyClient.scala](https://codecov.io/gh/Alkaar/resy-booking-bot/pull/104?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Fong#diff-c3JjL21haW4vc2NhbGEvY29tL3Jlc3kvUmVzeUNsaWVudC5zY2FsYQ==) | `100.00% <100.00%> (ø)` | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Fong). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Derek+Fong)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

sagibb commented 1 year ago

@Alkaar done

github-actions[bot] commented 1 year ago

:rocket: PR was released in v3.1.1 :rocket: