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

Deleting users from Users list in admin doesn't delete them from leaderboard #7

Open
Kaustuv942 opened this issue Oct 7, 2020 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@Kaustuv942
Copy link
Collaborator

Kaustuv942 commented Oct 7, 2020

The reason behind it is that the cache isn't being updated at the time of deletion. So the Users will disappear after the cache become invalid. A simple solution can be overriding the delete function and calling the lboardsave function to reflect the changes in the leaderboard.

@Kaustuv942 Kaustuv942 added bug Something isn't working good first issue Good for newcomers labels Oct 7, 2020
@Artelisan
Copy link

Hello,
can i try to do this issue? Can u assign it to me please?

@Kaustuv942
Copy link
Collaborator Author

Kaustuv942 commented Oct 7, 2020

Sure go ahead. Fork the repo, make changes and put up a PR.

@Artelisan
Copy link

I didn't fix it so you could give it to someone else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants