salix/back/methods/notification/send.js

19 lines
350 B
JavaScript
Raw Normal View History

2022-07-19 13:17:22 +00:00
module.exports = Self => {
Self.remoteMethod('send', {
description: 'Send notifications from queue',
accessType: 'WRITE',
returns: {
type: 'object',
root: true
},
http: {
path: `/send`,
verb: 'POST'
}
});
Self.send = async() => {
};
};