mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-02 17:31:14 -05:00
Remove trailing slash from template url
This commit is contained in:
@@ -13,7 +13,7 @@ template = Blueprint('template', __name__)
|
||||
# Permissions should restrict who can access this endpoint
|
||||
# TODO auth to be added.
|
||||
@template.route('/<int:template_id>', methods=['GET'])
|
||||
@template.route('/', methods=['GET'])
|
||||
@template.route('', methods=['GET'])
|
||||
def get_template(template_id=None):
|
||||
try:
|
||||
templates = get_model_templates(template_id=template_id)
|
||||
|
||||
Reference in New Issue
Block a user