total rebase
[anni] / lib / pleroma / web / activity_pub / object_validators / question_options_validator.ex
old mode 100755 (executable)
new mode 100644 (file)
index 541945f..8d7f7b9
@@ -14,10 +14,10 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.QuestionOptionsValidator do
 
     embeds_one :replies, Replies, primary_key: false do
       field(:totalItems, :integer)
-      field(:type, :string)
+      field(:type, :string, default: "Collection")
     end
 
-    field(:type, :string)
+    field(:type, :string, default: "Note")
   end
 
   def changeset(struct, data) do