Skip to content
Snippets Groups Projects
Commit f1ad3107 authored by Marcos Spessatto Defendi's avatar Marcos Spessatto Defendi Committed by Rodrigo Nascimento
Browse files

Fix inconsistent response of settings.oauth endpoint (#10553)

parent cf277bc4
No related branches found
No related tags found
No related merge requests found
......@@ -39,7 +39,7 @@ RocketChat.API.v1.addRoute('settings.oauth', { authRequired: false }, {
return { ...service };
}
return {
id: service._id,
_id: service._id,
name: service.service,
clientId: service.appId || service.clientId || service.consumerKey,
buttonLabelText: service.buttonLabelText || '',
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment