mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-09 19:04:33 -04:00
remove redis debug config var
This commit is contained in:
@@ -1,5 +1,3 @@
|
||||
from flask import current_app
|
||||
|
||||
from app.extensions import redis_client
|
||||
from app.notify_client import NotifyAdminAPIClient
|
||||
|
||||
@@ -50,7 +48,7 @@ class TemplateFolderAPIClient(NotifyAdminAPIClient):
|
||||
'folders': list(folder_ids),
|
||||
})
|
||||
|
||||
if template_ids and current_app.config['NOTIFY_ADMIN_API_CACHE_ENABLED']:
|
||||
if template_ids:
|
||||
redis_client.delete(*(f'service-{service_id}-template-{id}-version-None' for id in template_ids))
|
||||
|
||||
# @cache.delete('service-{service_id}-template-folders')
|
||||
|
||||
Reference in New Issue
Block a user