diff --git a/app/controllers/api/v1/users_controller.rb b/app/controllers/api/v1/users_controller.rb index 6c02b0b..fe4f7af 100755 --- a/app/controllers/api/v1/users_controller.rb +++ b/app/controllers/api/v1/users_controller.rb @@ -14,7 +14,8 @@ class Api::V1::UsersController < Api::V1::BaseController end if @user.nil? - raise ActionController::RoutingError.new("User Not Found") + render json: nil + return end if @user.steamid.present?