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

Fix TIcket reassign check #3981

Open
marcoacierno opened this issue Aug 11, 2024 · 0 comments
Open

Fix TIcket reassign check #3981

marcoacierno opened this issue Aug 11, 2024 · 0 comments
Labels

Comments

@marcoacierno
Copy link
Member

I believe we changed the Pretix tickets/attendee-tickets endpoint to pick all positions where the position email and order email match the user (I believe it was done to make it work with hotels, social events etc?) which broke this check:

tickets = get_user_tickets(

The check assumes that when a ticket is re-asigned it is not returned by get_user_tickets:

tickets = pretix.get_user_tickets(conference, email)
but it is actually is. Maybe we should rename the function to make it more clear of this behaviour too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Development

No branches or pull requests

1 participant