Skip to content

Commit 6f844bd

Browse files
Updated enterprise env var example
1 parent 2380584 commit 6f844bd

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Diff for: services/enterprise/.env.example

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ POSTHOG_HOST=
3434
SSH_PRIVATE_KEY_PASSWORD=
3535
SSH_PATH_TO_CREDENTIAL_FILE=
3636

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
3839
STRIPE_API_KEY=
3940
STRIPE_WEBHOOK_SECRET=
4041
SQL_GENERATION_PRICE_ID=

Diff for: services/enterprise/utils/auth.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def _decode_payload(self):
8080

8181
class Authorize:
8282
def user(self, payload: dict) -> User:
83-
sub = payload['sub']
83+
sub = payload["sub"]
8484
user = user_service.get_user_by_sub(sub)
8585
if not user:
8686
raise UnauthorizedUserError(email=sub)

0 commit comments

Comments
 (0)