fix autoreply

This commit is contained in:
Andris Reinman 2018-10-12 11:24:08 +03:00
parent 5596f47a1a
commit 58987ba917

View file

@ -150,6 +150,7 @@ module.exports = (db, server) => {
return next();
}
result.value.user = user;
r = await db.database.collection('autoreplies').updateOne({ user }, { $set: result.value }, { upsert: true });
res.json({