Ensure Oban is available during mix tasks.
authorMark Felder <feld@FreeBSD.org>
Fri, 24 Jul 2020 17:06:56 +0000 (12:06 -0500)
committerMark Felder <feld@FreeBSD.org>
Fri, 24 Jul 2020 17:06:56 +0000 (12:06 -0500)
Fixes: mix pleroma.user rm username
lib/mix/pleroma.ex

index c2b607fb3ea4778664863c615cf7ef5027f6e021..074492a4698eff861aec3d35cdc51eca50c6e52f 100644 (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)