Fix Oban not receiving :ok from RichMediaHelper job
This commit is contained in:
parent
c02e6ceea5
commit
3bf78f2be7
|
@ -64,5 +64,8 @@ def fetch_data_for_activity(%Activity{data: %{"type" => "Create"}} = activity) d
|
||||||
|
|
||||||
def fetch_data_for_activity(_), 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
|
end
|
||||||
|
|
Loading…
Reference in a new issue