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

Bugfix: Viewing Network when Signed In #122

Merged
merged 1 commit into from
Jul 27, 2019
Merged

Conversation

U8NWXD
Copy link
Member

@U8NWXD U8NWXD commented Jul 27, 2019

Viewing a network, e.g. at network/?id=1, was failing because in the
networks controllers, we were getting the user ID with
current_user.get_id(). However, the get_id() method returns a
dictionary of the user object (as described in docstrings). Instead, we
want to use current_user.id.

This resolves #121.

Viewing a network, e.g. at `network/?id=1`, was failing because in the
networks controllers, we were getting the user ID with
`current_user.get_id()`. However, the `get_id()` method returns a
dictionary of the user object (as described in docstrings). Instead, we
want to use `current_user.id`.
@U8NWXD U8NWXD added the bug label Jul 27, 2019
@U8NWXD
Copy link
Member Author

U8NWXD commented Jul 27, 2019

This bug was introduced in 3d6551c

@U8NWXD U8NWXD merged commit 8806221 into develop Jul 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant