Recreate dungeon in deac handler

This commit is contained in:
Tim Van Baak 2019-06-22 10:01:50 -07:00
parent 22008ea47b
commit 55c6630d15

View File

@ -100,6 +100,7 @@ def root():
@app.route("/deactivate/", methods=['POST'])
def deactivate():
dungeon = dungeonlib.Dungeon("dungeon")
params = request.get_json()
if 'source' not in params and 'itemid' not in params:
logger.error("Bad request params: {}".format(params))