We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd01bb9 commit 92c1bcdCopy full SHA for 92c1bcd
1 file changed
src/wol.js
@@ -192,10 +192,6 @@ async function startProcessing(req, res) {
192
let output = ""
193
let err = false
194
195
- return res.json({
196
- test: "HELLO",
197
- })
198
-
199
const wakeDocker = Boolean(routeAttributes.wakeDocker)
200
201
const wolEnabled = typeof ENV.wolURL === "string" && ENV.wolURL.trim() !== ""
@@ -213,6 +209,10 @@ async function startProcessing(req, res) {
213
209
if (ENV.exposeLogs) output += wolResult.output
214
210
}
215
211
212
+ return res.json({
+ test: "HELLO",
+ })
+
216
if (!err && wakeDocker && woldEnabled) {
217
logger.debug(
218
`Sending WoL-D to ${ENV.woldURL}: ${JSON.stringify({ query })}`
0 commit comments