Explorar o código

listen removing comment in the comment Event

kaori %!s(int64=4) %!d(string=hai) anos
pai
achega
8b3f549b3b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      packages/app/src/server/events/comment.ts

+ 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;