Commit b48a23cd authored by Jasper Maes's avatar Jasper Maes

Replace deprecated render text

parent c441a155
......@@ -36,6 +36,6 @@ class Oauth::Jira::AuthorizationsController < ApplicationController
auth_response = Gitlab::HTTP.post(oauth_token_url, body: auth_params, allow_local_requests: true)
token_type, scope, token = auth_response['token_type'], auth_response['scope'], auth_response['access_token']
render text: "access_token=#{token}&scope=#{scope}&token_type=#{token_type}"
render plain: "access_token=#{token}&scope=#{scope}&token_type=#{token_type}"
end
end
---
title: Replace deprecated render text
merge_request: 9346
author: Jasper Maes
type: other
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