mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-23 20:18:00 +01:00
actually fix it
This commit is contained in:
parent
2359742d05
commit
0a8c2d5e30
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.image_id])
|
|> join(:inner, [i], f in Feature, on: [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