Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
eb12a89d
Commit
eb12a89d
authored
Apr 30, 2017
by
lain
Browse files
Rename wrongly-named function.
parent
a173fb9e
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/user.ex
View file @
eb12a89d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment