aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/json.ex
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-11-15 21:40:14 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-11-15 21:40:14 +0300
commit01d9c093c3fa06784ee24039c69b16e400dd0ebf (patch)
treead013076e4b54a242fd895550a0fe50a1786f9b9 /lib/pleroma/docs/json.ex
parentc31ddce51ea18f052c1c3ad30a221b77c7a94e71 (diff)
parent22554ac5ca056c2db627fc2daa5ffc8710be5c89 (diff)
downloadpleroma-01d9c093c3fa06784ee24039c69b16e400dd0ebf.tar.gz
Merge remote-tracking branch 'remotes/upstream/develop' into 1335-user-api-id-fields-relations
Diffstat (limited to 'lib/pleroma/docs/json.ex')
-rw-r--r--lib/pleroma/docs/json.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/json.ex b/lib/pleroma/docs/json.ex
index 18ba01d58..f2a56d845 100644
--- 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"
- 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