Merge branch 'develop' into 'remove-twitter-api'
[akkoma] / lib / pleroma / docs / json.ex
index 6508a7bdb50e2d2edac10c15e30776aa480f9e33..d1cf1f487b447ae994f982dd5359c1211402a1d4 100644 (file)
@@ -15,10 +15,9 @@ defmodule Pleroma.Docs.JSON do
   end
 
   def compile do
-    with config <- Pleroma.Config.Loader.load("config/description.exs") do
+    with config <- Pleroma.Config.Loader.read("config/description.exs") do
       config[:pleroma][:config_description]
       |> Pleroma.Docs.Generator.convert_to_strings()
-      |> Jason.encode!()
     end
   end
 end