mirror of
https://github.com/pretix/pretix.git
synced 2026-05-03 14:54:04 +00:00
Fix high query load in pdf_data endpoints
This commit is contained in:
@@ -898,7 +898,7 @@ def test_checkin_only_permission(token_client, event, team, organizer, clist_all
|
||||
assert resp.status_code == 200
|
||||
assert resp.data['count'] > 0
|
||||
|
||||
# With all permissions, I can not request PDF data during checkin
|
||||
# With limited permissions, I can not request PDF data during checkin
|
||||
resp = _redeem(token_client, organizer, [clist_all], p.secret, {}, '?pdf_data=true')
|
||||
assert resp.status_code == 201
|
||||
assert not resp.data['position'].get('pdf_data')
|
||||
|
||||
Reference in New Issue
Block a user