Skip to content
Snippets Groups Projects
Unverified Commit fc6fb237 authored by Matheus Barbosa Silva's avatar Matheus Barbosa Silva Committed by GitHub
Browse files

fix: Custom OAuth settings are not visible (#29056)

parent 5e429d9c
No related branches found
No related tags found
No related merge requests found
---
"@rocket.chat/meteor": patch
---
fix: Custom OAuth settings are not visible
......@@ -32,4 +32,5 @@ import './v295';
import './v296';
import './v297';
import './v298';
import './v299';
import './xrun';
import { Settings } from '@rocket.chat/models';
import { addMigration } from '../../lib/migrations';
addMigration({
version: 299,
name: 'Add public field to existing custom OAuth settings',
async up() {
await Settings.updateMany({ _id: /^Accounts_OAuth_Custom.+/, group: 'OAuth' }, { $set: { public: false } });
},
});
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