Skip to content

Commit

Permalink
Use not true
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-XT committed Apr 29, 2024
1 parent ca9d5a4 commit 18b846f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agixt/ApiClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = ""
Expand Down

0 comments on commit 18b846f

Please sign in to comment.