This commit is contained in:
rinpatch 2019-01-16 18:01:17 +03:00
parent 8a9f089812
commit 9a90b5d91a

View file

@ -464,7 +464,6 @@ defmodule Pleroma.User do
def get_cached_by_nickname_or_id(nickname_or_id) do
get_cached_by_id(maybe_id) || get_cached_by_nickname(nickname_or_id)
end
end
def get_by_nickname(nickname) do
Repo.get_by(User, nickname: nickname) ||