Skip to content

Commit

Permalink
fix issue with offering image notifications breaking
Browse files Browse the repository at this point in the history
  • Loading branch information
zkat committed Feb 19, 2024
1 parent 25bb043 commit ed1205c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/banchan/offerings/offerings.ex
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ defmodule Banchan.Offerings do
end)
|> case do
{:ok, {:ok, offering}} ->
__MODULE__.Notifications.notify_images_updated(offering)
__MODULE__.Notifications.notify_images_updated(offering |> Repo.preload(:studio))
{:ok, offering}

{:ok, {:error, error}} ->
Expand Down

0 comments on commit ed1205c

Please sign in to comment.