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

Ability to view other player stats #104

Open
govindrai opened this issue May 21, 2019 · 0 comments
Open

Ability to view other player stats #104

govindrai opened this issue May 21, 2019 · 0 comments
Assignees
Labels

Comments

@govindrai
Copy link
Owner

Right now, even if you go to someone else stats, you get your own. That's because the res.locals.user is set to the current logged in user. Instead don't use res.locals.user, but instead, look up the user by that id.

@govindrai govindrai added the bug label May 21, 2019
@govindrai govindrai self-assigned this May 21, 2019
@govindrai govindrai changed the title Ability to view other's stats Ability to view other player stats May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant