This commit is contained in:
Beverly Nguyen
2025-11-19 19:55:24 -08:00
parent 766a656311
commit 4d8cc358b4
2 changed files with 166 additions and 3 deletions

View File

@@ -210,9 +210,7 @@ def _handle_delete_service(org_id, service_id):
cached_service_user_ids = [user.id for user in service.active_users]
service_api_client.archive_service(service_id, cached_service_user_ids)
create_archive_service_event(
service_id=service_id, archived_by_id=current_user.id
)
create_archive_service_event(service_id=service_id, archived_by_id=current_user.id)
cache.redis_client.delete("organizations")