These are chat archives for Automattic/mongoose

Jan 2017
Rob Lao
Jan 01 2017 03:31
        .then(() => res.state(204).end())
        .catch(handleError(res, 520));
user saved successfully(checked database manually), but the above code hits handleError and return 520 to f/e, I put this in get request handler, I am wondering if changing database is not allowed in get request handler?
Rob Lao
Jan 01 2017 04:05
Never mind, damn spelling error, should be status