Comparing version 1.0.2 to 1.0.3
@@ -20,3 +20,5 @@ var q = require('q') | ||
this.channels[name] = channel; | ||
this.db.collection('clients').update({ _id: this.id }, { $set: { "channels." + channel.name: new Date() }}); | ||
var doc = { $set: { } }; | ||
doc.$set["channels." + channel.name] = new Date(); | ||
this.db.collection('clients').update({ _id: this.id }, doc); | ||
return channel; | ||
@@ -23,0 +25,0 @@ } |
{ | ||
"name": "vubsub", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Pub/Sub for Node.js and MongoDB", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/vivocha/vubsub", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9293
178