Recreate dungeon in deac handler
This commit is contained in:
parent
22008ea47b
commit
55c6630d15
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue