diff --git a/lib/philomena/images.ex b/lib/philomena/images.ex index 358f0772..2eb12e4b 100644 --- a/lib/philomena/images.ex +++ b/lib/philomena/images.ex @@ -69,6 +69,9 @@ defmodule Philomena.Images do {:ok, count} end) + |> Multi.run(:subscribe, fn _repo, %{image: image} -> + create_subscription(image, attribution[:user]) + end) |> Multi.run(:after, fn _repo, %{image: image} -> Processors.after_insert(image)