Skip to content

Commit

Permalink
remove debug code
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Jankovsky committed May 19, 2016
1 parent c44294f commit 471a100
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ exports.handler = function(event, context, callback) {
if (typeof event.key === 'undefined') {
// grab the whole table
res = tgConfig.getAllConfig();
console.log(res);
callback(res[0], res[1]);
// dynamodb.scan({
// TableName: 'TokenGoodsConfig'
Expand All @@ -24,7 +23,6 @@ exports.handler = function(event, context, callback) {
} else {
// grab just a single key
res = tgConfig.getConfig(event.key);
console.log(res);
callback(res[0], res[1]);
// dynamodb.getItem({
// Key: {
Expand Down

0 comments on commit 471a100

Please sign in to comment.