Skip to content

Commit b2c430b

Browse files
v3.0.2
Signed-off-by: Dinger <quantdinger@gmail.com>
1 parent f7450c3 commit b2c430b

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

‎backend_api_python/app/data_providers/adanos_sentiment.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def normalize_source(source: Optional[str]) -> str:
5757
if normalized == "twitter":
5858
normalized = "x"
5959
if normalized not in SUPPORTED_SOURCES:
60-
raise ValueError(f"Unsupported Adanos sentiment source: {source}")
60+
raise ValueError(f"Unsupported Adanos sentiment source: {normalized!r}")
6161
return normalized
6262

6363

‎backend_api_python/env.example‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ FRONTEND_URL=http://localhost:8888
2626
# allowed implicitly; list every additional front-end here.
2727
# Example: OAUTH_ALLOWED_REDIRECTS=https://m.quantdinger.com,https://app.quantdinger.com
2828
OAUTH_ALLOWED_REDIRECTS=
29+
# OAuth CSRF state TTL (minutes); stored in Postgres for multi-worker. Default 20, clamped [5,120].
30+
OAUTH_STATE_TTL_MINUTES=20
2931
ENABLE_REGISTRATION=true
3032

3133
# =========================

0 commit comments

Comments
 (0)