diff options
author | Starfall <us@starfall.systems> | 2022-11-28 17:33:28 -0600 |
---|---|---|
committer | Starfall <us@starfall.systems> | 2022-11-28 17:50:34 -0600 |
commit | 7972854512ddb50eb84f9d8bdc50fdc48854df09 (patch) | |
tree | 8b4e4e971b055f01deac17160065a352caf52a8b /app/serializers/rest | |
parent | cb9dad90b01c9f53d1910cf128eb22200bdb9884 (diff) |
remove domain blocks from api
what legitimate use is there for a machine-readable block list?
Diffstat (limited to 'app/serializers/rest')
-rw-r--r-- | app/serializers/rest/domain_block_serializer.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/serializers/rest/domain_block_serializer.rb b/app/serializers/rest/domain_block_serializer.rb index 678463e13..a9d443df1 100644 --- a/app/serializers/rest/domain_block_serializer.rb +++ b/app/serializers/rest/domain_block_serializer.rb @@ -4,14 +4,14 @@ class REST::DomainBlockSerializer < ActiveModel::Serializer attributes :domain, :digest, :severity, :comment def domain - object.public_domain + "" end def digest - object.domain_digest + "" end def comment - object.public_comment if instance_options[:with_comment] + "" end end |