Commit e09cc195a7400187e7b59f7ff24273962d9912d7
1 parent
e9142c6f
Exists in
master
and in
4 other branches
fix variable name
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
lib/api/helpers.rb
... | ... | @@ -16,7 +16,7 @@ module API |
16 | 16 | rescue => ex |
17 | 17 | not_found!("No user id or username for: #{identifier}") |
18 | 18 | end |
19 | - not_found!("No user id or username for: #{identifier}") if current_user.nil? | |
19 | + not_found!("No user id or username for: #{identifier}") if @current_user.nil? | |
20 | 20 | end |
21 | 21 | @current_user |
22 | 22 | end | ... | ... |