From c0418a64145987460bedec111c8a9d6dc07bce82 Mon Sep 17 00:00:00 2001 From: Adam Vessey Date: Wed, 26 Jun 2024 09:58:56 -0300 Subject: [PATCH] Reference the correct class. --- embargo.services.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/embargo.services.yml b/embargo.services.yml index c70365d..4bcd728 100644 --- a/embargo.services.yml +++ b/embargo.services.yml @@ -63,7 +63,7 @@ services: tags: - { name: 'event_subscriber' } cache_context.user.embargo__has_exemption: - class: Drupal\embargo\Cache\Context\IpRangeCacheContext + class: Drupal\embargo\Cache\Context\UserExemptedCacheContext arguments: - '@current_user' - '@entity_type.manager'