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
......@@ -210,9 +210,9 @@ def create_by_object_ap_id_with_object(ap_id) when is_binary(ap_id) do,
preload: [object: o],
preload: :bookmarks
preload: [object: o]
|> with_preloaded_bookmarks()
def create_by_object_ap_id_with_object(_), do: nil
Supports Markdown
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