Ensure Oban is available during mix tasks.

Fixes: mix pleroma.user rm username
This commit is contained in:
Mark Felder 2020-07-24 12:06:56 -05:00
parent 9be6668236
commit 65a1b048a8

View file

@ -39,7 +39,8 @@ defmodule Mix.Pleroma do
[
Pleroma.Repo,
{Pleroma.Config.TransferTask, false},
Pleroma.Web.Endpoint
Pleroma.Web.Endpoint,
{Oban, Pleroma.Config.get(Oban)}
] ++
http_children(adapter)