Commit e09cc195 authored by Nihad Abbasov's avatar Nihad Abbasov

fix variable name

parent e9142c6f
...@@ -16,7 +16,7 @@ module API ...@@ -16,7 +16,7 @@ module API
rescue => ex rescue => ex
not_found!("No user id or username for: #{identifier}") not_found!("No user id or username for: #{identifier}")
end 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 end
@current_user @current_user
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment