This commit is contained in:
rinpatch 2019-01-16 18:01:17 +03:00
parent 8a9f089812
commit 9a90b5d91a
1 changed files with 0 additions and 1 deletions

View File

@ -464,7 +464,6 @@ def get_cached_by_nickname(nickname) 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) ||