mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Bump -utils to 55.0.0
This renames "delete_cache_keys_by_pattern" to match the new method name, which will also catch exceptions if Redis is down [1]. Note that this also includes a change to RecipientCSV [2], which has no effect because the new default is the same as the old behaviour. [1]: https://github.com/alphagov/notifications-utils/pull/949 [2]: https://github.com/alphagov/notifications-utils/pull/947/files#diff-a8a994bf655634f89dc7439880708b4ff0d780ac1bd8033827d8aaa2692a8e0fR373
This commit is contained in:
@@ -9,7 +9,7 @@ from app.notify_client import NotifyAdminAPIClient, _attach_current_user, cache
|
||||
class ServiceAPIClient(NotifyAdminAPIClient):
|
||||
|
||||
def _delete_template_cache_for_service(self, service_id):
|
||||
redis_client.delete_cache_keys_by_pattern(f"service-{service_id}-template-*")
|
||||
redis_client.delete_by_pattern(f"service-{service_id}-template-*")
|
||||
|
||||
@cache.delete('user-{user_id}')
|
||||
def create_service(
|
||||
|
||||
Reference in New Issue
Block a user