Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix Meteor.server.sessions[sessionId] is undefined #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aramix
Copy link

@aramix aramix commented Apr 3, 2020

Meteor.server.sessions is now a Map instance, so we should use get method instead of an array index

Meteor.server.sessions is now a Map instance, so we should use get method instead of an array index
@namenotrequired
Copy link

Excellent, thank you. Fixed this issue for me:

Exception while invoking method 'MeteorDown:login' TypeError: Cannot set property 'userId' of undefined

This is unlikely to be merged by the package authors, but anyone else who wants to use this package, here's how to install it locally to copy the edit from this PR: https://guide.meteor.com/writing-atmosphere-packages.html#overriding-atmosphere-packages

@diavrank
Copy link

diavrank commented Nov 7, 2020

Excellent, thank you. Fixed this issue for me:

Exception while invoking method 'MeteorDown:login' TypeError: Cannot set property 'userId' of undefined

This is unlikely to be merged by the package authors, but anyone else who wants to use this package, here's how to install it locally to copy the edit from this PR: https://guide.meteor.com/writing-atmosphere-packages.html#overriding-atmosphere-packages

Hi, I got the same problem, could you tell if there is a solution without modifying the package? (I am new in Meteor :( )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants