We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2ed1fc commit 38760b3Copy full SHA for 38760b3
1 file changed
src/wol.js
@@ -201,16 +201,14 @@ async function startProcessing(req, res) {
201
202
let wolResult = null
203
204
- if (wolEnabled && hosts.length > 0) {
205
- wolResult = await trySendWakeupPackets(hosts, ENV.wolURL)
206
- }
207
-
208
- logger.debug(JSON.stringify(wolResult))
209
210
return res.json({
211
test: "HELLO",
212
})
213
+ if (wolEnabled && hosts.length > 0) {
+ wolResult = await trySendWakeupPackets(hosts, ENV.wolURL)
+ }
+
214
if (wolResult) {
215
err = wolResult.err
216
if (ENV.exposeLogs) output += wolResult.output
0 commit comments