From a40caeb175c225cc8be4ce535a467ede5ceb9eca Mon Sep 17 00:00:00 2001 From: ZKWolf Date: Tue, 18 Jul 2023 22:59:45 +0200 Subject: [PATCH] Fixed eula --- src/endpoints/general.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoints/general.py b/src/endpoints/general.py index 9c58b82..c3a219a 100644 --- a/src/endpoints/general.py +++ b/src/endpoints/general.py @@ -204,7 +204,7 @@ def consent_eula(): is_given = mongo.get_data_with_list(login=userid, login_steam=False, items={"eula"}, server=mongo_host, db=mongo_db, collection=mongo_collection) - if is_given: + if is_given["eula"]: return jsonify({"isGiven": True}) else: return jsonify({"isGiven": False})