Files
P42_wssGateway/actions/notifications.js
T
2025-09-14 21:06:13 +00:00

13 lines
324 B
JavaScript

export const 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));
},
}