if wait value is null or undefined, set it to 0

This commit is contained in:
Rayraegah
2016-05-21 15:43:58 +01:00
parent 2a15773e04
commit 7ce4127908
2 changed files with 2 additions and 2 deletions

View File

@@ -42,7 +42,7 @@ function route(app) {
standard: req.body.standard,
ignore: req.body.ignore || [],
timeout: req.body.timeout,
wait: req.body.wait,
wait: req.body.wait || 0,
username: req.body.username,
password: req.body.password
};