Fix bug in api wait_seed, fix styles on seed gen pages

This commit is contained in:
Chris Wilson
2020-12-04 02:59:23 -05:00
parent 79095b7dde
commit 73013395a7
5 changed files with 28 additions and 13 deletions

View File

@@ -52,7 +52,7 @@ def generate_api():
return {"text": f"Generation of seed {gen.id} started successfully.",
"detail": gen.id,
"encoded": app.url_map.converters["suuid"].to_url(None, gen.id),
"wait_api_url": url_for("wait_seed_api", seed=gen.id, _external=True),
"wait_api_url": url_for("api.wait_seed_api", seed=gen.id, _external=True),
"url": url_for("wait_seed", seed=gen.id, _external=True)}, 201
except Exception as e:
return {"text": "Uncaught Exception:" + str(e)}, 500