Fix invalid type
lib/pleroma/docs/json.ex:21:unknown_type Unknown type: Map.t/0.
This commit is contained in:
parent
0b7d214211
commit
8ed506a370
@ -18,7 +18,7 @@ defmodule Pleroma.Docs.JSON do
|
|||||||
:persistent_term.put(@term, Pleroma.Docs.Generator.convert_to_strings(descriptions))
|
:persistent_term.put(@term, Pleroma.Docs.Generator.convert_to_strings(descriptions))
|
||||||
end
|
end
|
||||||
|
|
||||||
@spec compiled_descriptions :: Map.t()
|
@spec compiled_descriptions :: map()
|
||||||
def compiled_descriptions do
|
def compiled_descriptions do
|
||||||
:persistent_term.get(@term)
|
:persistent_term.get(@term)
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user