Update _delete_template_cache_for_service to delete all template version cache and not just the one ending in "None"

Update all methods that were previous calling @cache.delete('service-{service-id}-template-None') to instead call _delete_template_cache_for_service
Remove call to get service templates, it's not needed since all template version cache is being deleted.
This commit is contained in:
Rebecca Law
2021-01-25 14:03:16 +00:00
parent e2ecff050d
commit 01a3df6edc
4 changed files with 41 additions and 36 deletions

View File

@@ -23,9 +23,9 @@
"@babel/preset-env": "7.4.2",
"del": "5.1.0",
"diff-dom": "2.5.1",
"govuk_frontend_toolkit": "8.1.0",
"govuk-elements-sass": "3.1.2",
"govuk-frontend": "2.13.0",
"govuk_frontend_toolkit": "8.1.0",
"gulp": "4.0.0",
"gulp-add-src": "1.0.0",
"gulp-babel": "8.0.0",