Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonyx committed Oct 9, 2024
1 parent 9692d70 commit bc41ccd
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions backend/shared_configs/configs.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
from typing import List
from urllib.parse import urlparse

from danswer.configs.constants import POSTGRES_DEFAULT_SCHEMA

# Used for logging
SLACK_CHANNEL_ID = "channel_id"

Expand Down Expand Up @@ -110,6 +108,4 @@ def validate_cors_origin(origin: str) -> None:
# If the environment variable is empty, allow all origins
CORS_ALLOWED_ORIGIN = ["*"]

current_tenant_id = contextvars.ContextVar(
"current_tenant_id", default=POSTGRES_DEFAULT_SCHEMA
)
current_tenant_id = contextvars.ContextVar("current_tenant_id", default="public")

0 comments on commit bc41ccd

Please sign in to comment.