Add HTTP request logging

Related to #27.
This commit is contained in:
Zalmoxisus
2016-11-09 13:49:24 +02:00
parent ee32bd52a6
commit 9c048e66ef
4 changed files with 9 additions and 1 deletions

View File

@ -14,7 +14,6 @@ function error(msg) {
}
function list(query, fields) {
knex.select().from('remotedev_apps').then(function(r){ console.log(r) });
var r = knex.select(fields || baseFields).from(reports);
if (query) return r.where(query);
return r;