提交 e09cc195 编写于 作者: N Nihad Abbasov

fix variable name

上级 e9142c6f
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册