feat: alpha hub integration + frontend user store fixes + script client base_url fix

This commit is contained in:
Ruben Fiszel
2022-06-12 01:55:05 +02:00
parent f691f53224
commit 1a61d50076
31 changed files with 333 additions and 194 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ class JobStatus(Enum):
_client: AuthenticatedClient | None = None
def create_client(base_url: str | None = None, token: str | None = None) -> AuthenticatedClient:
env_base_url = os.environ.get("BASE_URL")
env_base_url = os.environ.get("BASE_INTERNAL_URL")
if env_base_url is not None:
env_base_url = env_base_url + "/api"