Use with_preloaded_bookmark in create_by_object_ap_id_with_object
This commit is contained in:
parent
3a7c14645e
commit
be067ec2ab
|
@ -210,9 +210,9 @@ def create_by_object_ap_id_with_object(ap_id) when is_binary(ap_id) do
|
||||||
activity.data,
|
activity.data,
|
||||||
activity.data
|
activity.data
|
||||||
),
|
),
|
||||||
preload: [object: o],
|
preload: [object: o]
|
||||||
preload: :bookmarks
|
|
||||||
)
|
)
|
||||||
|
|> with_preloaded_bookmarks()
|
||||||
end
|
end
|
||||||
|
|
||||||
def create_by_object_ap_id_with_object(_), do: nil
|
def create_by_object_ap_id_with_object(_), do: nil
|
||||||
|
|
Loading…
Reference in a new issue