summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-07 13:54:28 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-09-10 16:01:20 +0300
commiteca42566ba62ece75b79915f4af0c8a0f0c48a17 (patch)
tree0b93a86db15a56906bace4fe092d99e6afaf656a /priv
parente11fca88d424b394359f50646e4b4ec9b3ae1a8b (diff)
formatting
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs3
1 files changed, 1 insertions, 2 deletions
diff --git a/priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs b/priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs
index d9c972563..b5a0a0ff6 100644
--- a/priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs
+++ b/priv/repo/migrations/20200907084956_remove_cron_clear_oauth_token_worker_from_oban_config.exs
@@ -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