Map consumerKey to clientId (fix Twitter) (#10560)

pull/10561/head^2
Matheus Cardoso 8 years ago committed by Rodrigo Nascimento
parent 01d2aead1d
commit b80fb8443f
  1. 2
      packages/rocketchat-api/server/v1/settings.js

@ -41,7 +41,7 @@ RocketChat.API.v1.addRoute('settings.oauth', { authRequired: false }, {
return {
id: service._id,
name: service.service,
clientId: service.appId || service.clientId,
clientId: service.appId || service.clientId || service.consumerKey,
buttonLabelText: service.buttonLabelText || '',
buttonColor: service.buttonColor || '',
buttonLabelColor: service.buttonLabelColor || '',

Loading…
Cancel
Save