1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-17 18:49:15 +00:00

Rename wrongly-named function.

This commit is contained in:
Roger Braun 2017-04-30 15:06:22 +02:00
parent a173fb9e41
commit eb12a89d22

View file

@ -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