diff --git a/files/routes/posts.py b/files/routes/posts.py index 7bcab451b..7ffaea2f4 100644 --- a/files/routes/posts.py +++ b/files/routes/posts.py @@ -36,6 +36,14 @@ CF_KEY = environ.get("CF_KEY", "").strip() CF_ZONE = environ.get("CF_ZONE", "").strip() CF_HEADERS = {"Authorization": f"Bearer {CF_KEY}", "Content-Type": "application/json"} +discounts = { + 69: 0.02, + 70: 0.04, + 71: 0.06, + 72: 0.08, + 73: 0.10, +} + def ghost_price(v): if v.patron == 1: discount = 0.90 elif v.patron == 2: discount = 0.85