Fix for task creation

This commit is contained in:
2016-09-23 13:47:47 +02:00
parent a42a2fe371
commit 971b8e6392

View File

@@ -85,7 +85,7 @@ def create_task(project):
parent=parent)
resp = flask.make_response()
resp.headers['Location'] = flask.url_for('.view_embed_task',
resp.headers['Location'] = flask.url_for('.view_task',
project_url=project['url'],
task_id=task['_id'])
resp.status_code = 201