Fix posts AP endpoint
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
f7d064c022
commit
3635967439
@ -145,6 +145,6 @@ defmodule Mobilizon.Posts do
|
||||
Post
|
||||
|> where(attributed_to_id: ^group_id)
|
||||
|> order_by(desc: :inserted_at)
|
||||
|> preload([p], [:author, :attributed_to, :picture])
|
||||
|> preload([p], [:author, :attributed_to, :picture, :media])
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user