Missing error

This commit is contained in:
Daniel García Aubert 2018-07-31 12:15:20 +02:00
parent 230b1bb3db
commit 70ac0587db

View File

@ -40,7 +40,7 @@ DataviewBackend.prototype.getDataview = function (mapConfigProvider, user, param
const error = new Error('Both own_filter and no_filters cannot be sent in the same request');
error.type = 'dataview';
error.http_status = 400;
return callback(err);
return callback(error);
}
var pg = new PSQL(dbParamsFromReqParams(params));