projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch '1427-oauth-admin-scopes' into 'develop'
[akkoma]
/
lib
/
pleroma
/
docs
/
json.ex
diff --git
a/lib/pleroma/docs/json.ex
b/lib/pleroma/docs/json.ex
index 18ba01d58aca56bb58b5edd38bdc738bb10d87c6..f2a56d845e594752db66cd24d67483be0f9f6221 100644
(file)
--- a/
lib/pleroma/docs/json.ex
+++ b/
lib/pleroma/docs/json.ex
@@
-5,7
+5,7
@@
defmodule Pleroma.Docs.JSON do
def process(descriptions) do
config_path = "docs/generate_config.json"
def process(descriptions) do
config_path = "docs/generate_config.json"
- with {:ok, file} <- File.open(config_path, [:write]),
+ with {:ok, file} <- File.open(config_path, [:write
, :utf8
]),
json <- generate_json(descriptions),
:ok <- IO.write(file, json),
:ok <- File.close(file) do
json <- generate_json(descriptions),
:ok <- IO.write(file, json),
:ok <- File.close(file) do