mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-25 11:40:58 -04:00
We use `redis_client.delete` to delete multiple keys at once, but this raises a `redis.exceptions.ResponseError` if it is called with an empty list or set. We should only call `redis_client.delete` when there is at least one item to delete.
2.0 KiB
2.0 KiB