fixed

improved

Clean up

We've spent a good hour refining a few edge case errors that we found in our logs - the usual suspects of people trying to hack, but also some catches for some real edge cases that seem to happen. Slowly but surely we're getting to no errors being reported. For a system this big, thats running over 2 app platforms as well as the web, we're super proud of this! Some of the changes include:
  • When a menu from a search contains invalid characters, we know redirect to menu creator
  • Random cocktail generator sometimes would return a cocktail that no long existed. This is fixed
  • When registering our stripe listeners would sometimes look for a coupon code even though non was used. It didn't effect anything but the webhook wouldn't return a 200 to stripe
  • Couple of cases when some SQL's were using an IN command with nothing to look IN (due to users removing things). All fixed.
  • When finding cocktails you can make, having a default of Cant make as a catch all scenario
And a few other small bits of protection! Wahoo