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:
Chris Hill-Scott
2020-06-12 09:03:40 +01:00
parent bf6bd8ad0f
commit 23f9728108
4 changed files with 9 additions and 9 deletions

View File

@@ -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, {