[#1149] Upgraded oban from 0.6.0 to 0.7.1.
This commit is contained in:
parent
7101ba1a21
commit
c29686309e
13 changed files with 51 additions and 49 deletions
|
|
@ -16,7 +16,7 @@ defmodule Pleroma.Tests.ObanHelpers do
|
|||
end
|
||||
|
||||
def perform(%Oban.Job{} = job) do
|
||||
res = apply(String.to_existing_atom("Elixir." <> job.worker), :perform, [job])
|
||||
res = apply(String.to_existing_atom("Elixir." <> job.worker), :perform, [job.args, job])
|
||||
Repo.delete(job)
|
||||
res
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue