|
|
@@ -77,6 +77,8 @@ module.exports = function(crowi, app) {
|
|
|
updatedAt: new Date()
|
|
|
});
|
|
|
|
|
|
+ res.json(ApiResponse.success({comment: createdComment}));
|
|
|
+
|
|
|
// slack notification
|
|
|
if (slackNotificationForm.isSlackEnabled) {
|
|
|
try {
|
|
|
@@ -95,7 +97,7 @@ module.exports = function(crowi, app) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- return res.json(ApiResponse.success({comment: createdComment}));
|
|
|
+
|
|
|
};
|
|
|
|
|
|
/**
|