File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -34,7 +34,8 @@ POSTHOG_HOST=
34
34
SSH_PRIVATE_KEY_PASSWORD =
35
35
SSH_PATH_TO_CREDENTIAL_FILE =
36
36
37
- # Optional stripe env vars if organizations are not on ENTERPRISE plan
37
+ # Optional stripe env vars if organizations are only on ENTERPRISE plan (organization.invoice_details.plan = "ENTERPRISE")
38
+ # Otherwise you would need to create a new stripe account and fillout the env vars below
38
39
STRIPE_API_KEY =
39
40
STRIPE_WEBHOOK_SECRET =
40
41
SQL_GENERATION_PRICE_ID =
Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ def _decode_payload(self):
80
80
81
81
class Authorize :
82
82
def user (self , payload : dict ) -> User :
83
- sub = payload [' sub' ]
83
+ sub = payload [" sub" ]
84
84
user = user_service .get_user_by_sub (sub )
85
85
if not user :
86
86
raise UnauthorizedUserError (email = sub )
You can’t perform that action at this time.
0 commit comments