Skip to content

Commit

Permalink
Merge pull request #277 from tensult/master
Browse files Browse the repository at this point in the history
Remove JSON.stringify for model in Debug message
  • Loading branch information
fishcharlie committed Mar 22, 2018
2 parents 4a59c3d + 6b3b5a9 commit 640d4cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/Schema.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ Schema.prototype.toDynamo = function(model) {
}
}

debug('toDynamo: %s', JSON.stringify(dynamoObj) );
debug('toDynamo: %s', dynamoObj );
return dynamoObj;
};

Expand Down Expand Up @@ -194,7 +194,7 @@ Schema.prototype.parseDynamo = function(model, dynamoObj) {
}
}

debug('parseDynamo: %s',JSON.stringify(model));
debug('parseDynamo: %s', model);

return dynamoObj;

Expand Down

0 comments on commit 640d4cb

Please sign in to comment.