forked from github/plane
chore: configuration add tracker variables (#2709)
* chore: configuration add tracker variables * dev: unsplash configuration
This commit is contained in:
parent
34bccd7e06
commit
515dba02d3
@ -31,4 +31,7 @@ class ConfigurationEndpoint(BaseAPIView):
|
|||||||
os.environ.get("ENABLE_EMAIL_PASSWORD", "0") == "1"
|
os.environ.get("ENABLE_EMAIL_PASSWORD", "0") == "1"
|
||||||
)
|
)
|
||||||
data["slack_client_id"] = os.environ.get("SLACK_CLIENT_ID", None)
|
data["slack_client_id"] = os.environ.get("SLACK_CLIENT_ID", None)
|
||||||
|
data["posthog_api_key"] = os.environ.get("POSTHOG_API_KEY", None)
|
||||||
|
data["posthog_host"] = os.environ.get("POSTHOG_HOST", None)
|
||||||
|
data["has_unsplash_configured"] = bool(settings.UNSPLASH_ACCESS_KEY)
|
||||||
return Response(data, status=status.HTTP_200_OK)
|
return Response(data, status=status.HTTP_200_OK)
|
||||||
|
Loading…
Reference in New Issue
Block a user