2nd
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
module.exports.methods = {
|
||||
|
||||
async action_NOTIFS(action, payload, reqid){
|
||||
let reply = {
|
||||
'action': action,
|
||||
'payload': await this.getAwaitingNotifs(),
|
||||
'success': true,
|
||||
};
|
||||
if(reqid) reply.reqid = reqid;
|
||||
this.send(JSON.stringify(reply));
|
||||
},
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user