api: do not disabled full events when booked in events datetimes (#79120) #109
Loading…
Reference in New Issue
No description provided.
Delete Branch "wip/79120-API-MultipleAgendasDatetimes-ne-"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: api: do not disabled full events when booked in events datetimes (#79120)to api: do not disabled full events when booked in events datetimes (#79120)@ -1705,0 +1738,4 @@
resp = app.get('/api/agendas/datetimes/', params={'agendas': agenda.slug, 'user_external_id': 'our_user'})
assert [(d['id'], d['disabled']) for d in resp.json['data']] == [
('first-agenda@recurring--2021-05-06-1700', False), # full event with booking not disabled
('first-agenda@recurring--2021-05-13-1700', True), # full event without booking disabled
s/without/with :)
1b3e9c73a6
tocce129b8bc