Fix Oban not receiving :ok from RichMediaHelper job

This commit is contained in:
Mark Felder 2020-04-14 11:43:53 -05:00 committed by rinpatch
parent 862d4886c9
commit 8cf4e1619e
1 changed files with 4 additions and 1 deletions

View File

@ -64,5 +64,8 @@ def fetch_data_for_activity(%Activity{data: %{"type" => "Create"}} = activity) d
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