mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-27 13:47:58 +01:00
actually actually fix it
This commit is contained in:
parent
0a8c2d5e30
commit
5f56710459
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ defmodule PhilomenaWeb.ActivityController do
|
|||
|
||||
featured_image =
|
||||
Image
|
||||
|> join(:inner, [i], f in Feature, on: [id: i.id])
|
||||
|> join(:inner, [i], f in Feature, on: [image_id: i.id])
|
||||
|> order_by([i, f], desc: f.created_at)
|
||||
|> limit(1)
|
||||
|> Repo.one()
|
||||
|
|
Loading…
Reference in a new issue