disabled cache

This commit is contained in:
David Baldwynn 2017-10-07 06:14:36 -04:00
parent d1b052b875
commit 8e402f5919
2 changed files with 1 additions and 2 deletions

View file

@ -322,7 +322,6 @@ exports.formByIDFast = function(req, res, next, id) {
}
Form.findById(id)
.lean()
.cache()
.select('title language form_fields startPage endPage hideFooter isLive design analytics.gaCode')
.exec(function(err, form) {
if (err) {

View file

@ -26,7 +26,7 @@ module.exports = function (io, socket) {
timeElapsed: data.timeElapsed,
isSubmitted: data.isSubmitted,
language: data.language,
ipAddr: data.ipAddr,
ipAddr: '',
deviceType: data.deviceType
};