Skip to content

Commit ed1205c

Browse files
committed
fix issue with offering image notifications breaking
1 parent 25bb043 commit ed1205c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/banchan/offerings/offerings.ex

+1-1
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ defmodule Banchan.Offerings do
163163
end)
164164
|> case do
165165
{:ok, {:ok, offering}} ->
166-
__MODULE__.Notifications.notify_images_updated(offering)
166+
__MODULE__.Notifications.notify_images_updated(offering |> Repo.preload(:studio))
167167
{:ok, offering}
168168

169169
{:ok, {:error, error}} ->

0 commit comments

Comments
 (0)