Skip to content

Commit

Permalink
Fixed mistype
Browse files Browse the repository at this point in the history
  • Loading branch information
yurijmikhalevich committed Jul 24, 2014
1 parent 63a8864 commit cddb01d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/winston-mongodb.js
Expand Up @@ -180,7 +180,7 @@ MongoDB.prototype.log = function (level, msg, meta, callback) {
entry.level = level;
entry.meta = helpers.prepareMetaData(meta);
if (self.storeHost) {
entry.hostname = this.hostname;
entry.hostname = self.hostname;
}

col.save(entry, { safe: self.safe }, function (err) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "winston-mongodb",
"version": "0.5.0",
"version": "0.5.1",
"description": "A MongoDB transport for winston",
"author": "Charlie Robbins <charlie.robbins@gmail.com>",
"contributors": [
Expand Down

0 comments on commit cddb01d

Please sign in to comment.