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

#140636141/game log #49

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

Seyi-Keye
Copy link
Contributor

What does this PR do?

Fixes the updating on the database when a user abandons game.

Description of Task to be completed?

The database only get updated when the game ends.

How should this be manually tested?

Users that abandons game before the game officially ends would not get a record for that game session.

Any background context you want to provide?

The game currently updates the database when the user abandons game and when the game ends. Therefore, when the user clicks on game log, so many uncompleted game sessions are displayed.

What are the relevant pivotal tracker stories?

Given that the database is populated when you abandon game and when game ends
It should only get populated when the game ends

Screenshots (if appropriate)

N/A

Questions:

N/A

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.

1 participant