about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/unblock_domain_service.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/services/unblock_domain_service.rb b/app/services/unblock_domain_service.rb
index d9b96edfe..eceecd6d7 100644
--- a/app/services/unblock_domain_service.rb
+++ b/app/services/unblock_domain_service.rb
@@ -27,12 +27,12 @@ class UnblockDomainService < BaseService
   end
 
   def domain_block_impact
-    case domain_block.severity
-    when :force_unlisted
+    case @domain_block.severity
+    when 'force_unlisted'
       :force_unlisted
-    when :silence
+    when 'silence'
       :silenced_at
-    when :suspend
+    when 'suspend'
       :suspended_at
     end
   end