formatting
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Mon, 7 Sep 2020 10:54:28 +0000 (13:54 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Thu, 10 Sep 2020 13:01:20 +0000 (16:01 +0300)
priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs

index d9c972563f11c57b533346530d30d431541b534c..b5a0a0ff6c30eba8cf41f7ec81a43c1f18b8861e 100644 (file)
@@ -2,7 +2,7 @@ defmodule Pleroma.Repo.Migrations.RemoveCronClearOauthTokenWorkerFromObanConfig
   use Ecto.Migration
 
   def change do
-     with %Pleroma.ConfigDB{} = config <-
+    with %Pleroma.ConfigDB{} = config <-
            Pleroma.ConfigDB.get_by_params(%{group: :pleroma, key: Oban}),
          crontab when is_list(crontab) <- config.value[:crontab],
          index when is_integer(index) <-
@@ -15,6 +15,5 @@ defmodule Pleroma.Repo.Migrations.RemoveCronClearOauthTokenWorkerFromObanConfig
       |> Ecto.Changeset.change(value: updated_value)
       |> Pleroma.Repo.update()
     end
-
   end
 end