Commit eb12a89d authored by lain's avatar lain

Rename wrongly-named function.

parent a173fb9e
......@@ -123,7 +123,7 @@ def get_cached_by_nickname(nickname) do
Cachex.get!(:user_cache, key, fallback: fn(_) -> Repo.get_by(User, nickname: nickname) end)
end
def get_cached_by_nickname(nickname) do
def get_by_nickname(nickname) do
Repo.get_by(User, nickname: nickname)
end
......
Markdown is supported
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