Commit 9a90b5d9 authored by rinpatch's avatar rinpatch
Browse files

oof

parent 8a9f0898
......@@ -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) ||
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment