aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/docs/generator.ex
diff options
context:
space:
mode:
authorMaksim Pechnikov <parallel588@gmail.com>2020-02-11 08:35:26 +0300
committerMaksim Pechnikov <parallel588@gmail.com>2020-02-11 08:35:26 +0300
commit58574ef15627dbae8f12ba59fd043c70d287f794 (patch)
treee0cd96700cfe5b271336dec07570a58961b4f91d /lib/pleroma/docs/generator.ex
parent3830cb538bd3aaee3fc48bc97b57230a558b98cf (diff)
parent94e5ca11054567e0edc15ef3a350f02c386d3ead (diff)
downloadpleroma-58574ef15627dbae8f12ba59fd043c70d287f794.tar.gz
Merge branch 'develop' into issue/1276
Diffstat (limited to 'lib/pleroma/docs/generator.ex')
-rw-r--r--lib/pleroma/docs/generator.ex2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pleroma/docs/generator.ex b/lib/pleroma/docs/generator.ex
index 6b12dcdd9..e0fc8cd02 100644
--- a/lib/pleroma/docs/generator.ex
+++ b/lib/pleroma/docs/generator.ex
@@ -13,7 +13,7 @@ defmodule Pleroma.Docs.Generator do
|> Enum.filter(&String.ends_with?(&1, ".ex"))
|> Enum.map(fn filename ->
module = filename |> String.trim_trailing(".ex") |> Macro.camelize()
- String.to_existing_atom(start <> module)
+ String.to_atom(start <> module)
end)
end
end