Fix specs.
This commit is contained in:
parent
4ea2a41014
commit
8a47974217
4 changed files with 7 additions and 6 deletions
|
|
@ -14,6 +14,8 @@ defmodule Pleroma.Builders.UserBuilder do
|
|||
end
|
||||
|
||||
def insert(data \\ %{}) do
|
||||
Repo.insert(build(data))
|
||||
{:ok, user} = Repo.insert(build(data))
|
||||
User.invalidate_cache(user)
|
||||
{:ok, user}
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue