From 7972854512ddb50eb84f9d8bdc50fdc48854df09 Mon Sep 17 00:00:00 2001 From: Starfall Date: Mon, 28 Nov 2022 17:33:28 -0600 Subject: remove domain blocks from api what legitimate use is there for a machine-readable block list? --- app/serializers/rest/domain_block_serializer.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'app/serializers/rest') 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 -- cgit