The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/server/startup/migrations/v322.ts

21 lines
442 B

import { Settings } from '@rocket.chat/models';
import { addMigration } from '../../lib/migrations';
addMigration({
version: 322,
name: 'Remove Tokenpass settings',
async up() {
await Settings.deleteMany({
_id: {
$in: [
'Accounts_OAuth_Tokenpass',
'API_Tokenpass_URL',
'Accounts_OAuth_Tokenpass_id',
'Accounts_OAuth_Tokenpass_secret',
'Accounts_OAuth_Tokenpass_callback_url',
],
},
});
},
});