Skip to content

Commit 0e22375

Browse files
committed
return whole host object
1 parent b47abfe commit 0e22375

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

src/wol.js

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -65,13 +65,7 @@ function buildHostEntry(key) {
6565
host = CONFIG.hosts.any
6666
}
6767

68-
return {
69-
ip: host.ip,
70-
mac: host.mac,
71-
id: host.id,
72-
wold: host.wold,
73-
startupTime: host.startupTime,
74-
}
68+
return host
7569
}
7670

7771
function getDataByHostname(hostname) {

0 commit comments

Comments
 (0)