| 1234567891011 |
- const NotificationRoute = require('../routes/notification')
- const { onEvent } = require('../services/notification')
-
- module.exports = {
- name: 'notification-plugin',
- version: '1.0.0',
- register: async (server, options) => {
- await server.route(NotificationRoute)
- server.decorate('toolkit', 'event', onEvent)
- }
- }
|