Remove trailing slashing from urls

This commit is contained in:
Rebecca Law
2016-01-15 16:44:46 +00:00
parent e2e494c30b
commit b05ad17029
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ from flask import Blueprint
service = Blueprint('service', __name__)
@service.route('/', methods=['POST'])
@service.route('', methods=['POST'])
def create_service():
# TODO what exceptions get passed from schema parsing?
service, errors = service_schema.load(request.get_json())