Alkaar / resy-booking-bot

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

feat: add fail-safe when providing empty table type #86

Closed Alkaar closed 1 year ago

Alkaar commented 1 year ago

Added a fail-safe so that providing an empty string table type is the same as not providing a table type at all. People have mistaken passing an empty string table type as not specifying a table type at all. This makes it such that the bot behaves the same way, preventing user error.

codecov-commenter commented 1 year ago

Codecov Report

Base: 58.62% // Head: 58.62% // No change to project coverage :thumbsup:

Coverage data is based on head (8a5571f) compared to base (a47c4f0). Patch coverage: 100.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #86 +/- ## ======================================= Coverage 58.62% 58.62% ======================================= Files 5 5 Lines 116 116 Branches 2 4 +2 ======================================= Hits 68 68 Misses 48 48 ``` | [Impacted Files](https://codecov.io/gh/Alkaar/resy-booking-bot/pull/86?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/ResyClient.scala](https://codecov.io/gh/Alkaar/resy-booking-bot/pull/86?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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

github-actions[bot] commented 1 year ago

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