diff --git a/server/data/autohouse.js b/server/data/autohouse.js index bce69ec0f..dab3581cb 100644 --- a/server/data/autohouse.js +++ b/server/data/autohouse.js @@ -40,11 +40,7 @@ exports.default = async (req, res) => { const specificShopIds = req.body.bodyshopIds; // ['uuid] const { start, end, skipUpload } = req.body; //YYYY-MM-DD - if ( - !start || - !moment(start).isValid || - req.headers["x-imex-auth"] !== process.env.AUTOHOUSE_AUTH_TOKEN - ) { + if (req.headers["x-imex-auth"] !== process.env.AUTOHOUSE_AUTH_TOKEN) { res.sendStatus(401); return; }