Fixed issue with account StatusesController

• Fixed:
- issue with account StatusesController
This commit is contained in:
mgabdev 2021-01-14 00:10:00 -05:00
parent fb75f33b12
commit feea5a65bc
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ class Api::V1::Accounts::StatusesController < Api::BaseController
# if attempting to paginate and no user, return error
if params[:max_id] || params[:since_id] || params[:min_id]
if current_account.nil?
render json: { "error": true }, status: 429
return render json: { "error": true }, status: 429
end
end