More typesafe NodeSortField definition.
This commit is contained in:
parent
91690509d3
commit
66fb4e5004
4 changed files with 45 additions and 17 deletions
server/services
|
@ -18,6 +18,7 @@ import { forConstraint } from "../shared/validation/validator";
|
|||
import {
|
||||
Domain,
|
||||
DurationSeconds,
|
||||
filterUndefinedFromJSON,
|
||||
Hostname,
|
||||
isBoolean,
|
||||
isDomain,
|
||||
|
@ -438,7 +439,7 @@ async function sendMonitoringMailsBatched(
|
|||
node.nickname + " <" + node.email + ">",
|
||||
mailType,
|
||||
{
|
||||
node: node,
|
||||
node: filterUndefinedFromJSON(node),
|
||||
lastSeen: nodeState.last_seen,
|
||||
disableUrl: monitoringDisableUrl(monitoringToken),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue