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

Viewing profile after creating account crashes app #10

Closed
Amuff1n opened this issue Mar 22, 2018 · 1 comment
Closed

Viewing profile after creating account crashes app #10

Amuff1n opened this issue Mar 22, 2018 · 1 comment
Labels
bug Something isn't working

Comments

@Amuff1n
Copy link
Owner

Amuff1n commented Mar 22, 2018

Currently when an account is created, the user document on the database only has firstName, lastName, and uid fields. When you view your profile, it expects school, major, year, and class fields as well causing it to crash.

Possible fix would be to create these fields when creating account but make them null to start.

@Amuff1n Amuff1n added the bug Something isn't working label Mar 22, 2018
@Amuff1n
Copy link
Owner Author

Amuff1n commented Apr 4, 2018

Fixed in 49630da. Those fields get set as empty when profile initially created. User can manually view and update profile with information later.

@Amuff1n Amuff1n closed this as completed Apr 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant