Skip to content

Commit 14117a9

Browse files
committed
Fix actor when sending activity logs from the nodes_monitor
1 parent b6d5e2e commit 14117a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/node_services/nodes_monitor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@ class NodesMonitor extends EventEmitter {
415415
.then(() => {
416416
this._dispatch_node_event(item, 'decommission',
417417
`${item.node.name} was deactivated by ${req.account && req.account.email}`,
418-
req.account && req.account.email
418+
req.account && req.account._id
419419
);
420420
})
421421
.then(() => {
@@ -440,7 +440,7 @@ class NodesMonitor extends EventEmitter {
440440
.then(() => {
441441
this._dispatch_node_event(item, 'recommission',
442442
`${item.node.name} was reactivated by ${req.account && req.account.email}`,
443-
req.account && req.account.email
443+
req.account && req.account._id
444444
);
445445
});
446446

0 commit comments

Comments
 (0)