mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-26 17:24:23 -04:00
Let everyone see the API info page
If it’s not for them it’s OK, they’ll be scared away.
This commit is contained in:
@@ -180,7 +180,6 @@ def send_message_to_self(service_id, template_id):
|
|||||||
|
|
||||||
@main.route("/services/<service_id>/send/<template_id>/from-api", methods=['GET'])
|
@main.route("/services/<service_id>/send/<template_id>/from-api", methods=['GET'])
|
||||||
@login_required
|
@login_required
|
||||||
@user_has_permissions('manage_api_keys')
|
|
||||||
def send_from_api(service_id, template_id):
|
def send_from_api(service_id, template_id):
|
||||||
template = Template(
|
template = Template(
|
||||||
service_api_client.get_service_template(service_id, template_id)['data'],
|
service_api_client.get_service_template(service_id, template_id)['data'],
|
||||||
|
|||||||
Reference in New Issue
Block a user