mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +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 =
|
featured_image =
|
||||||
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)
|
|> order_by([i, f], desc: f.created_at)
|
||||||
|> limit(1)
|
|> limit(1)
|
||||||
|> Repo.one()
|
|> Repo.one()
|
||||||
|
|
Loading…
Reference in a new issue