We want to create a new product (if required) in stripe with the details using #125 and also create a firestore document in the booking_slots using #186 (if required). We should NOT allow duplicate stripe products to be created so this should be checked first.
[!NOTE]
You may want to first check firestore for a document with the date, if it exists, change the max_slots status to > 0
Also remove the stripe_product_id from booking_slot, replace with is_active
Is your feature request related to a problem? Please describe.
The request body should contain:
We want to create a new product (if required) in stripe with the details using #125 and also create a firestore document in the
booking_slots
using #186 (if required). We should NOT allow duplicate stripe products to be created so this should be checked first.Also remove thestripe_product_id
frombooking_slot
, replace withis_active
BEFORE MERGING
yarn workspace server tsoa spec-and-routes
)git fetch origin master:master
, thengit rebase master
orgit merge master
)