Skip to content
Snippets Groups Projects
Commit be067ec2 authored by rinpatch's avatar rinpatch Committed by kaniini
Browse files

Use with_preloaded_bookmark in create_by_object_ap_id_with_object

parent 3a7c1464
No related branches found
No related tags found
No related merge requests found
......@@ -210,9 +210,9 @@ defmodule Pleroma.Activity do
activity.data,
activity.data
),
preload: [object: o],
preload: :bookmarks
preload: [object: o]
)
|> with_preloaded_bookmarks()
end
def create_by_object_ap_id_with_object(_), do: nil
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment