Make sure instance list is refreshed before notifying admin from new
instance follow Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -67,7 +67,7 @@ defmodule Mobilizon.Instances do
|
||||
}
|
||||
end
|
||||
|
||||
@spec instance(String.t()) :: Instance.t()
|
||||
@spec instance(String.t()) :: Instance.t() | nil
|
||||
def instance(domain) do
|
||||
Instance
|
||||
|> where(domain: ^domain)
|
||||
|
||||
Reference in New Issue
Block a user