From ed1205c54b9cc19c38c8ba8e4ff0642ed620bbdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kat=20March=C3=A1n?= Date: Sun, 18 Feb 2024 21:47:19 -0800 Subject: [PATCH] fix issue with offering image notifications breaking --- lib/banchan/offerings/offerings.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/banchan/offerings/offerings.ex b/lib/banchan/offerings/offerings.ex index 2c01ad15..24381cb3 100644 --- a/lib/banchan/offerings/offerings.ex +++ b/lib/banchan/offerings/offerings.ex @@ -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}} ->