diff --git a/app/controllers/import/bitbucket_server_controller.rb b/app/controllers/import/bitbucket_server_controller.rb index 106783cd205..b4285c79135 100644 --- a/app/controllers/import/bitbucket_server_controller.rb +++ b/app/controllers/import/bitbucket_server_controller.rb @@ -90,7 +90,7 @@ class Import::BitbucketServerController < Import::BaseController end def render_validation_error(message) - return render json: { errors: message }, status: :unprocessable_entity + render json: { errors: message }, status: :unprocessable_entity end def bitbucket_auth