DeleteValidator: The deleted activity id is an object id
authorlain <lain@soykaf.club>
Sun, 3 May 2020 11:02:57 +0000 (13:02 +0200)
committerlain <lain@soykaf.club>
Sun, 3 May 2020 11:02:57 +0000 (13:02 +0200)
lib/pleroma/web/activity_pub/object_validators/delete_validator.ex

index 68ab08605962a811183c3a77bdad2dfd25cf369b..e06de3dff02c00a68066e41545345c63aa9b1a34 100644 (file)
@@ -20,7 +20,7 @@ defmodule Pleroma.Web.ActivityPub.ObjectValidators.DeleteValidator do
     field(:actor, Types.ObjectID)
     field(:to, Types.Recipients, default: [])
     field(:cc, Types.Recipients, default: [])
-    field(:deleted_activity_id)
+    field(:deleted_activity_id, Types.ObjectID)
     field(:object, Types.ObjectID)
   end