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

Synchronize event penalty with user penalty #221

Open
otytlandsvik opened this issue Sep 13, 2023 · 0 comments
Open

Synchronize event penalty with user penalty #221

otytlandsvik opened this issue Sep 13, 2023 · 0 comments
Labels
🏗️ API [Organization Project] Task Related to API functionality

Comments

@otytlandsvik
Copy link
Collaborator

🚨 As of now, penalties for events are saved on the event mongodb document.

This means that penalties for users on events can become out of sync with penalties on the user. This makes it impossible to for example remove someone's penalties and move them on the list if a mistake occured.

✨ Penalties should be synchronized

There is no need to double-save the penalties. They should simply be retrieved from the user when needed.

@otytlandsvik otytlandsvik added the 🏗️ API [Organization Project] Task Related to API functionality label Oct 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏗️ API [Organization Project] Task Related to API functionality
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant