mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Remove trailing slashing from urls
This commit is contained in:
@@ -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())
|
||||
|
||||
@@ -14,7 +14,7 @@ user = Blueprint('user', __name__)
|
||||
|
||||
|
||||
# TODO auth to be added
|
||||
@user.route('/', methods=['POST'])
|
||||
@user.route('', methods=['POST'])
|
||||
def create_user():
|
||||
user, errors = user_schema.load(request.get_json())
|
||||
if errors:
|
||||
|
||||
Reference in New Issue
Block a user