Skip to content

Commit

Permalink
Merge branch '#8381-search_provider_concept' of https://github.com/re…
Browse files Browse the repository at this point in the history
…dlink-gmbh/Rocket.Chat into redlink-local/#8381-search_provider_concept
  • Loading branch information
tkurz committed Apr 20, 2018
2 parents 36b79c0 + facb8a3 commit dfecb5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/rocketchat-api/server/v1/settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RocketChat.API.v1.addRoute('settings.public', { authRequired: false }, {
RocketChat.API.v1.addRoute('settings.oauth', { authRequired: false }, {
get() {
const mountOAuthServices = () => {
const oAuthServicesEnabled = ServiceConfiguration.configurations.find({}).fetch();
const oAuthServicesEnabled = ServiceConfiguration.configurations.find({}, { fields: { secret: 0 } }).fetch();

return oAuthServicesEnabled.map((service) => {
if (service.custom) {
Expand Down

0 comments on commit dfecb5e

Please sign in to comment.