projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
move avi.png & banner.png from /priv/static/static to /priv/static/images
[akkoma]
/
lib
/
pleroma
/
object.ex
diff --git
a/lib/pleroma/object.ex
b/lib/pleroma/object.ex
index a5a1d6a763a94302bb163fdf90de0b2802387fcb..30ba7b57a88f615557ea38884a9f40835e223784 100644
(file)
--- a/
lib/pleroma/object.ex
+++ b/
lib/pleroma/object.ex
@@
-15,7
+15,7
@@
defmodule Pleroma.Object do
end
def change(struct, params \\ %{}) do
-
changeset =
struct
+ struct
|> cast(params, [:data])
|> validate_required([:data])
|> unique_constraint(:ap_id, name: :objects_unique_apid_index)