projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'develop' into feature/admin-api-status-count-per-instance
[akkoma]
/
lib
/
pleroma
/
web
/
activity_pub
/
object_validators
/
create_validator.ex
diff --git
a/lib/pleroma/web/activity_pub/object_validators/create_validator.ex
b/lib/pleroma/web/activity_pub/object_validators/create_validator.ex
index 908381981d8009a0df8357349d465004c4396df8..926804ce74c18311fbf0516e9ea8ae7a21245b75 100644
(file)
--- a/
lib/pleroma/web/activity_pub/object_validators/create_validator.ex
+++ b/
lib/pleroma/web/activity_pub/object_validators/create_validator.ex
@@
-13,7
+13,7
@@
defmodule Pleroma.Web.ActivityPub.ObjectValidators.CreateNoteValidator do
@primary_key false
embedded_schema do
- field(:id,
:string
, primary_key: true)
+ field(:id,
Types.ObjectID
, primary_key: true)
field(:actor, Types.ObjectID)
field(:type, :string)
field(:to, {:array, :string})