From: Mark Felder Date: Tue, 14 Apr 2020 16:43:53 +0000 (-0500) Subject: Fix Oban not receiving :ok from RichMediaHelper job X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=8cf4e1619e439b1c9374a52cfc2b0cdf8d549d02;p=akkoma Fix Oban not receiving :ok from RichMediaHelper job --- diff --git a/lib/pleroma/web/rich_media/helpers.ex b/lib/pleroma/web/rich_media/helpers.ex index 0314535d2..9d3d7f978 100644 --- a/lib/pleroma/web/rich_media/helpers.ex +++ b/lib/pleroma/web/rich_media/helpers.ex @@ -64,5 +64,8 @@ defmodule Pleroma.Web.RichMedia.Helpers do def fetch_data_for_activity(_), do: %{} - def perform(:fetch, %Activity{} = activity), do: fetch_data_for_activity(activity) + def perform(:fetch, %Activity{} = activity) do + fetch_data_for_activity(activity) + :ok + end end