Fix Oban not receiving :ok from RichMediaHelper job
authorMark Felder <feld@FreeBSD.org>
Tue, 14 Apr 2020 16:43:53 +0000 (11:43 -0500)
committerMark Felder <feld@FreeBSD.org>
Tue, 14 Apr 2020 16:43:53 +0000 (11:43 -0500)
lib/pleroma/web/rich_media/helpers.ex

index 0314535d27d8a3dd4805f88ae602a56a78b2d22f..9d3d7f978b10b48c9afc3960a222fb85bcfb4061 100644 (file)
@@ -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