danlg / lgen

lgen
MIT License
2 stars 1 forks source link

[Admin] TypeError: Cannot read property 'userId' of null at smartix_lib/server/methods.js:160 #672

Open danlg opened 8 years ago

danlg commented 8 years ago
Exception in callback of async function: TypeError: Cannot read property 'userId' of null
 336     at packages/yuukan_streamy/packages/yuukan_streamy.js:338:1
 337     at packages/underscore/underscore.js:200:1
 338     at _.each._.forEach (packages/underscore/underscore.js:113:1)
 339     at Function._.filter._.select (packages/underscore/underscore.js:199:1)
 340     at Object.Streamy.socketsForUsers (packages/yuukan_streamy/packages/yuukan_streamy.js:337:1)
 341     at packages/smartix_lib/server/methods.js:160:1
 342     at Array.map (native)
 343     at [object Object].Meteor.methods.doPushNotification (packages/smartix_lib/server/methods.js:156:1)
 344     at [object Object].methodMap.(anonymous function) (packages/meteorhacks_kadira/lib/hijack/wrap_session.js:164:1)
 345     at maybeAuditArgumentChecks (packages/ddp-server/livedata_server.js:1704:12)
danlg commented 8 years ago

When sending notification