fix variable name
This commit is contained in:
parent
e9142c6f2c
commit
e09cc195a7
1 changed files with 1 additions and 1 deletions
|
@ -16,7 +16,7 @@ module API
|
|||
rescue => ex
|
||||
not_found!("No user id or username for: #{identifier}")
|
||||
end
|
||||
not_found!("No user id or username for: #{identifier}") if current_user.nil?
|
||||
not_found!("No user id or username for: #{identifier}") if @current_user.nil?
|
||||
end
|
||||
@current_user
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue