This commit is contained in:
Phantasm 2026-07-18 16:13:39 +02:00
commit 41ab347571
No known key found for this signature in database
GPG key ID: 2669E588BCC634C8
4 changed files with 17 additions and 9 deletions

View file

@ -342,6 +342,7 @@ defmodule Mix.Tasks.Pleroma.Config do
end
end
end
@spec migrate_to_db(Path.t() | nil) :: any()
def migrate_to_db(file_path \\ nil) do
with :ok <- Pleroma.Config.DeprecationWarnings.warn() do

View file

@ -212,7 +212,7 @@ defmodule Pleroma.Web.AdminAPI.ConfigController do
{blacklisted_group, blacklisted_key} ->
group == inspect(blacklisted_group) and key == inspect(blacklisted_key)
end)
end)
else
true
end