0001-api-reduce-search-window-for-open-slots-in-fillslot.patch
chrono/api/views.py | ||
---|---|---|
1283 | 1283 |
meeting_type, |
1284 | 1284 |
resources=resources, |
1285 | 1285 |
user_external_id=user_external_id if exclude_user else None, |
1286 |
start_datetime=min(datetimes), |
|
1287 |
end_datetime=max(datetimes) + datetime.timedelta(minutes=meeting_type.duration), |
|
1286 | 1288 |
), |
1287 | 1289 |
key=lambda slot: slot.start_datetime, |
1288 | 1290 |
) |
1289 |
- |