Skip to content

Commit

Permalink
Fail hard if there is no MARKLOGIC_HOST
Browse files Browse the repository at this point in the history
  • Loading branch information
jacksonj04 committed Nov 9, 2023
1 parent b539655 commit 7573f15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi_server/connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
from openapi_server.security_api import get_token_basic

environ.Env.read_env("../.env") # TODO this is hideous
MARKLOGIC_HOST = os.environ.get("MARKLOGIC_API_CLIENT_HOST")
MARKLOGIC_HOST = os.environ["MARKLOGIC_API_CLIENT_HOST"]


def client_for_basic_auth(
Expand Down

0 comments on commit 7573f15

Please sign in to comment.