Skip to content
Snippets Groups Projects
Commit ea9689b6 authored by Gabriel Engel's avatar Gabriel Engel
Browse files

adding logs

parent 73fd2429
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@ Meteor.publish 'allUsers', ->
unless this.userId
return this.ready()
# console.log '[publish] allUsers'.green
console.log '[publish] allUsers'.green
Meteor.users.find
username:
......
......@@ -2,7 +2,7 @@ Meteor.publish 'dashboardRoom', (rid, start) ->
unless this.userId
return this.ready()
# console.log '[publish] dashboardRoom ->'.green, 'rid:', rid, 'start:', start
console.log '[publish] dashboardRoom ->'.green, 'rid:', rid, 'start:', start
if typeof rid isnt 'string'
return this.ready()
......
......@@ -2,7 +2,7 @@ Meteor.publish 'myRoomActivity', ->
unless this.userId
return this.ready()
# console.log '[publish] myRoomActivity'.green
console.log '[publish] myRoomActivity'.green
return Meteor.publishWithRelations
handle: this
......
......@@ -2,7 +2,7 @@ Meteor.publish 'privateHistoryRooms', ->
unless this.userId
return this.ready()
# console.log '[publish] privateHistoryRooms'.green
console.log '[publish] privateHistoryRooms'.green
ChatRoom.find
usernames: Meteor.users.findOne(this.userId).username
......
......@@ -2,7 +2,7 @@ Meteor.publish 'roomSearch', (selector, options, collName) ->
unless this.userId
return this.ready()
# console.log '[publish] roomSearch -> '.green, 'selector:', selector, 'options:', options, 'collName:', collName
console.log '[publish] roomSearch -> '.green, 'selector:', selector, 'options:', options, 'collName:', collName
self = this
searchType = null
......
......@@ -2,7 +2,7 @@ Meteor.publish 'selectiveUsers', (usernames) ->
unless this.userId
return this.ready()
# console.log '[publish] selectiveUsers -> '.green, 'userIds:', userIds
console.log '[publish] selectiveUsers -> '.green, 'userIds:', userIds
self = this
......
......@@ -2,7 +2,7 @@ Meteor.publish 'userData', ->
unless this.userId
return this.ready()
# console.log '[publish] userData'.green
console.log '[publish] userData'.green
Meteor.users.find this.userId,
fields:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment