You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception from sub posts id pXwknxFQWfuwWjxhy Error: Call headers.get(this) only from within a method or publish function. With callbacks / anonymous functions, use: var self=this; and call headers.get(self);
I20150613-14:53:11.801(-4)? at checkSelf (packages/gadicohen:headers/headers-server.js:73:1)
I20150613-14:53:11.801(-4)? at Object.headers.get (packages/gadicohen:headers/headers-server.js:82:1
...
Any help is appreciated! Thanks in advance.
The text was updated successfully, but these errors were encountered:
I'd like to access header information inside of collection hooks (which are called from publication functions).
Is this possible?
Here's what I've tried so far, but it doesn't seem to be working:
And the exception thrown:
Any help is appreciated! Thanks in advance.
The text was updated successfully, but these errors were encountered: