mirror of
https://github.com/zhigang1992/deployd.git
synced 2026-05-24 13:59:27 +08:00
Fixed failing tests
This commit is contained in:
@@ -45,7 +45,7 @@ Script.prototype.run = function (ctx, domain, fn) {
|
||||
me: session && session.user,
|
||||
console: console,
|
||||
query: ctx.query,
|
||||
internal: req.internal,
|
||||
internal: req && req.internal,
|
||||
emit: function(collection, query, event, data) {
|
||||
if(arguments.length === 4) {
|
||||
session.emitToUsers(collection, query, event, data);
|
||||
|
||||
Reference in New Issue
Block a user