mirror of
https://github.com/wolfswolke/DeathGarden_API_Rebirth.git
synced 2026-04-26 00:10:28 -05:00
Fixed eula
This commit is contained in:
parent
645bca42f2
commit
a40caeb175
|
|
@ -204,7 +204,7 @@ def consent_eula():
|
||||||
is_given = mongo.get_data_with_list(login=userid, login_steam=False,
|
is_given = mongo.get_data_with_list(login=userid, login_steam=False,
|
||||||
items={"eula"},
|
items={"eula"},
|
||||||
server=mongo_host, db=mongo_db, collection=mongo_collection)
|
server=mongo_host, db=mongo_db, collection=mongo_collection)
|
||||||
if is_given:
|
if is_given["eula"]:
|
||||||
return jsonify({"isGiven": True})
|
return jsonify({"isGiven": True})
|
||||||
else:
|
else:
|
||||||
return jsonify({"isGiven": False})
|
return jsonify({"isGiven": False})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user