Commit be067ec2 authored by rinpatch's avatar rinpatch Committed by kaniini

Use with_preloaded_bookmark in create_by_object_ap_id_with_object

parent 3a7c1464
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment