2
0
Эх сурвалжийг харах

listen removing comment in the comment Event

kaori 4 жил өмнө
parent
commit
8b3f549b3b

+ 4 - 0
packages/app/src/server/events/comment.ts

@@ -22,5 +22,9 @@ CommentEvent.prototype.onUpdate = function() {
   logger.info('onUpdate comment event fired');
 };
 
+CommentEvent.prototype.onRemove = function() {
+  logger.info('onRemove comment event fired');
+};
+
 
 module.exports = CommentEvent;