|
|
@@ -342,7 +342,7 @@ module.exports = (crowi) => {
|
|
|
/**
|
|
|
* @swagger
|
|
|
*
|
|
|
- * /slack-integration-settings/access-tokens:
|
|
|
+ * /slack-integration-settings/slack-app-integration:
|
|
|
* delete:
|
|
|
* tags: [SlackIntegration]
|
|
|
* operationId: deleteAccessTokens
|
|
|
@@ -352,7 +352,7 @@ module.exports = (crowi) => {
|
|
|
* 200:
|
|
|
* description: Succeeded to delete access tokens for slack
|
|
|
*/
|
|
|
- router.delete('/access-tokens', loginRequiredStrictly, adminRequired, csrf, async(req, res) => {
|
|
|
+ router.delete('/slack-app-integration', loginRequiredStrictly, adminRequired, csrf, async(req, res) => {
|
|
|
const SlackAppIntegration = mongoose.model('SlackAppIntegration');
|
|
|
const { tokenGtoP, tokenPtoG } = req.body;
|
|
|
try {
|