tons of cursor-shit cleaning, finished implementing cnxId in observer
This commit is contained in:
@@ -2,16 +2,17 @@ import { replyToAction } from '../../../bus/publishActionReply.js'
|
||||
|
||||
export const actions = {
|
||||
|
||||
async action_RELOADCONFIG(action, payload, reqid, sender, roles) {
|
||||
async action_RELOADCONFIG(action, payload, reqid, sender, cnxId, roles) {
|
||||
this.reloadAccessRights()
|
||||
replyToAction(this, { action, reqid, sender, success: true })
|
||||
replyToAction(this, { action, reqid, sender, cnxId, success: true })
|
||||
},
|
||||
|
||||
async action_GETCONFIG(action, payload, reqid, sender, roles) {
|
||||
async action_GETCONFIG(action, payload, reqid, sender, cnxId, roles) {
|
||||
replyToAction(this, {
|
||||
action,
|
||||
reqid,
|
||||
sender,
|
||||
cnxId,
|
||||
success: true,
|
||||
payload: this.getAccessRights(),
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user