reading the file, instead of config keyword
authorAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 26 Mar 2021 16:19:19 +0000 (19:19 +0300)
committerAlexander Strizhakov <alex.strizhakov@gmail.com>
Fri, 26 Mar 2021 16:19:19 +0000 (19:19 +0300)
lib/pleroma/config/release_runtime_provider.ex

index 8227195dcc58b2dde42e8baf92ec756843423dc1..70ef3bcc16276f26c3b57a9c0fc017e1f74f33ba 100644 (file)
@@ -39,7 +39,7 @@ defmodule Pleroma.Config.ReleaseRuntimeProvider do
 
     with_exported =
       if File.exists?(exported_config_path) do
-        exported_config = Config.Reader.read!(with_runtime_config)
+        exported_config = Config.Reader.read!(exported_config_path)
         Config.Reader.merge(with_runtime_config, exported_config)
       else
         with_runtime_config