Commit e09cc195a7400187e7b59f7ff24273962d9912d7

Authored by Nihad Abbasov
1 parent e9142c6f

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,7 +16,7 @@ module API
16 rescue => ex 16 rescue => ex
17 not_found!("No user id or username for: #{identifier}") 17 not_found!("No user id or username for: #{identifier}")
18 end 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 end 20 end
21 @current_user 21 @current_user
22 end 22 end