Open
Description
With
channelById: (id) ->
try
GoogleApi.get "/youtube/v3/search", { params: { part: "snippet", channelId: id }}, (err, data) ->
catch err
console.log err
I get
err [Error: Meteor.userId can only be invoked in method calls. Use this.userId in publish functions.]
When using GoogleApi in a package. Any ideas? Tried with a clean 1.0.5 app and package X. Only dependencies in package X are what's needed to log in to Google, which it does just fine. Tests run fine too. I'm using the same credentials successfully in other apps, so I'm pretty sure it's not a permissions, scope, etc, problem.
Metadata
Metadata
Assignees
Labels
No labels