about summary refs log tree commit diff
path: root/app/serializers/rest
diff options
context:
space:
mode:
authormultiple creatures <dev@multiple-creature.party>2019-09-24 20:29:08 -0500
committermultiple creatures <dev@multiple-creature.party>2019-09-24 20:29:08 -0500
commit3c1f1feef14ee9ea0a002010c927ac6556f00801 (patch)
tree1662912a68a9b4dc69362f9eb97dcfe4d0ea1806 /app/serializers/rest
parent5be87e7625b5f181e5dd7d27d182f1c4056c7931 (diff)
in custom filters, remove the `irreversible` flag (but report it as `true` to vanilladon clients) - our impl does not use this
Diffstat (limited to 'app/serializers/rest')
-rw-r--r--app/serializers/rest/filter_serializer.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/serializers/rest/filter_serializer.rb b/app/serializers/rest/filter_serializer.rb
index f83d55577..b027e9cc1 100644
--- a/app/serializers/rest/filter_serializer.rb
+++ b/app/serializers/rest/filter_serializer.rb
@@ -7,4 +7,8 @@ class REST::FilterSerializer < ActiveModel::Serializer
   def id
     object.id.to_s
   end
+
+  def irreversible
+    true
+  end
 end