Mogrify/Mogrifun: Asyncify
This commit is contained in:
parent
ee291f08e8
commit
c31fabdebd
9 changed files with 90 additions and 40 deletions
|
|
@ -34,7 +34,13 @@ defmodule Pleroma.Test.StaticConfig do
|
|||
@behaviour Pleroma.Config.Getting
|
||||
@config Application.get_all_env(:pleroma)
|
||||
|
||||
@impl true
|
||||
def get(path, default \\ nil) do
|
||||
get_in(@config, path) || default
|
||||
end
|
||||
|
||||
@impl true
|
||||
def get!(path) do
|
||||
get_in(@config, path)
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue