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

Inconsistent report barrier: off by one #159

Open
worldofjoni opened this issue May 8, 2024 · 0 comments
Open

Inconsistent report barrier: off by one #159

worldofjoni opened this issue May 8, 2024 · 0 comments
Labels
Backend The issue lies in the data presented in the App or in the server bug Something isn't working

Comments

@worldofjoni
Copy link
Member

The report mail template mentions, that X reports are needed for an image to be hidden automatically, but actually, X + 1 are necessary.

Report barrier:
https://github.com/kronos-et-al/MensaApp/blob/43cccc038a4cc48df39b59311fdc10ecd57f245f/backend/src/layer/logic/api_command/command_handler.rs#L68C35-L68C36

Mail template:
https://github.com/kronos-et-al/MensaApp/blob/43cccc038a4cc48df39b59311fdc10ecd57f245f/backend/src/layer/data/mail/template.txt#L6C51-L6C69

@worldofjoni worldofjoni added bug Something isn't working Backend The issue lies in the data presented in the App or in the server labels May 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Backend The issue lies in the data presented in the App or in the server bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant