mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 23:55:58 -05:00
add remove_whitelist tests
This commit is contained in:
@@ -287,7 +287,6 @@ def get_whitelist(service_id):
|
||||
|
||||
@service_blueprint.route('/<uuid:service_id>/whitelist', methods=['POST'])
|
||||
def update_whitelist(service_id):
|
||||
# todo: make this transactional
|
||||
dao_remove_service_whitelist(service_id)
|
||||
|
||||
whitelist_objs = [ServiceWhitelist.from_string(service_id, contact) for contact in request.get_json()]
|
||||
|
||||
Reference in New Issue
Block a user