var data = require('../lib/data.js');

exports.getitems = function(req, res) {
  var who = "THEUSER";
  data.getAllCounts(who, function(e, data) {
    if(e) {
      console.error(e);
      res.send(500);
    }
    res.send(data);
  });
};

exports.getitemsbytag = function(req, res) {
  var who = "THEUSER";
  var tag = req.params.tag;

  data.getTagCounts(who, tag, function(e, data) {
    if(e) {
      console.error(e);
      res.send(500);
    }
    console.log(data);
    res.send(data);
  });
};
@@ -447,31 +447,8 @@
   %7D%0A
-    console.log(data);%0A
     

remove unnecessary logging