mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 14:18:24 -04:00
Add event for remove_user_from_service
Follows our existing patterns of events for managing users
This commit is contained in:
@@ -25,6 +25,15 @@ def create_mobile_number_change_event(user_id, updated_by_id, original_mobile_nu
|
||||
new_mobile_number=new_mobile_number)
|
||||
|
||||
|
||||
def create_remove_user_from_service_event(user_id, removed_by_id, service_id):
|
||||
_send_event(
|
||||
'remove_user_from_service',
|
||||
user_id=user_id,
|
||||
removed_by_id=removed_by_id,
|
||||
service_id=service_id
|
||||
)
|
||||
|
||||
|
||||
def create_archive_user_event(user_id, archived_by_id):
|
||||
_send_event(
|
||||
'archive_user',
|
||||
|
||||
Reference in New Issue
Block a user