mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Rename endpoint to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
This commit is contained in:
@@ -54,7 +54,7 @@ def api_documentation(service_id):
|
||||
|
||||
@main.route("/services/<uuid:service_id>/api/whitelist", methods=['GET', 'POST'])
|
||||
@user_has_permissions('manage_api_keys')
|
||||
def whitelist(service_id):
|
||||
def guest_list(service_id):
|
||||
form = GuestList()
|
||||
if form.validate_on_submit():
|
||||
service_api_client.update_whitelist(service_id, {
|
||||
|
||||
Reference in New Issue
Block a user