Merge branch 'workerhelper-fix' into 'develop'
Fix WebPush notifications not generating jobs See merge request pleroma/pleroma!4210
This commit is contained in:
commit
45611ed325
3 changed files with 7 additions and 9 deletions
|
|
@ -29,5 +29,6 @@ defmodule Pleroma.Web.Push do
|
|||
{:ok, Oban.Job.t()} | {:error, Oban.Job.changeset() | term()}
|
||||
def send(notification) do
|
||||
WebPusherWorker.new(%{"op" => "web_push", "notification_id" => notification.id})
|
||||
|> Oban.insert()
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue