|
@@ -73,7 +73,7 @@ module.exports = (crowi) => {
|
|
|
};
|
|
};
|
|
|
|
|
|
|
|
async function resetAllBotSettings() {
|
|
async function resetAllBotSettings() {
|
|
|
- await SlackAppIntegration.collection.deleteMany();
|
|
|
|
|
|
|
+ await SlackAppIntegration.deleteMany();
|
|
|
|
|
|
|
|
const params = {
|
|
const params = {
|
|
|
'slackbot:currentBotType': null,
|
|
'slackbot:currentBotType': null,
|