|
@@ -390,9 +390,9 @@ module.exports = (crowi) => {
|
|
|
return res.apiv3(slackAppTokens, 200);
|
|
return res.apiv3(slackAppTokens, 200);
|
|
|
}
|
|
}
|
|
|
catch (error) {
|
|
catch (error) {
|
|
|
- const msg = 'Error occured in creating slack app integration';
|
|
|
|
|
|
|
+ const msg = 'Error occurred in creating slack app integration';
|
|
|
logger.error('Error', error);
|
|
logger.error('Error', error);
|
|
|
- return res.apiv3Err(new ErrorV3(msg, 'update-slackAppTokens-failed'), 500);
|
|
|
|
|
|
|
+ return res.apiv3Err(new ErrorV3(msg, 'creating-slack-app-integration-settings-procedure-failed'), 500);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|
|
@@ -420,9 +420,9 @@ module.exports = (crowi) => {
|
|
|
return res.apiv3(slackAppTokens, 200);
|
|
return res.apiv3(slackAppTokens, 200);
|
|
|
}
|
|
}
|
|
|
catch (error) {
|
|
catch (error) {
|
|
|
- const msg = 'Error occured in updating access token for slack app tokens';
|
|
|
|
|
|
|
+ const msg = 'Error occurred in regenerating slack app tokens';
|
|
|
logger.error('Error', error);
|
|
logger.error('Error', error);
|
|
|
- return res.apiv3Err(new ErrorV3(msg, 'update-slackAppTokens-failed'), 500);
|
|
|
|
|
|
|
+ return res.apiv3Err(new ErrorV3(msg, 'regenerating-slackAppTokens-failed'), 500);
|
|
|
}
|
|
}
|
|
|
});
|
|
});
|
|
|
|
|
|