From: lain Date: Sun, 3 May 2020 11:02:57 +0000 (+0200) Subject: DeleteValidator: The deleted activity id is an object id X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=1974d0cc423efefcbdadd68442d0fbed8f3ee4ab;p=akkoma DeleteValidator: The deleted activity id is an object id --- diff --git a/lib/pleroma/web/activity_pub/object_validators/delete_validator.ex b/lib/pleroma/web/activity_pub/object_validators/delete_validator.ex index 68ab08605..e06de3dff 100644 --- a/lib/pleroma/web/activity_pub/object_validators/delete_validator.ex +++ b/lib/pleroma/web/activity_pub/object_validators/delete_validator.ex @@ -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