about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-07-15 14:01:06 -0500
committermultiple creatures <dev@multiple-creature.party>2019-07-15 14:12:24 -0500
commit31a7ca046863f137c53c7ca3228f0dc5c32ea343 (patch)
tree1e109f81ea793b6adf4e40e8071fee7b6318ef25 /app
parentb441174bd2844c92467d94e5cee47628842bc47b (diff)
unbreak `domain_block_impact`
Diffstat (limited to 'app')
-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