From 18b846f2638a43abba41b1419d78dcbf4770378a Mon Sep 17 00:00:00 2001 From: Josh XT Date: Mon, 29 Apr 2024 07:54:16 -0400 Subject: [PATCH] Use not true --- agixt/ApiClient.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agixt/ApiClient.py b/agixt/ApiClient.py index 0e437e30024a..d3772439d4a5 100644 --- a/agixt/ApiClient.py +++ b/agixt/ApiClient.py @@ -84,7 +84,7 @@ def get_api_client(authorization: str = Header(None)): def is_admin(email: str, api_key: str = None): global DB_CONNECTED, AGIXT_API_KEY - if DB_CONNECTED == False: + if DB_CONNECTED != True: return True if api_key is None: api_key = ""