fix frozen time bounds on the recordings API (#24121)

`after` and `before` defaulted to `datetime.now()` in the function signature, so they were evaluated once at import. Requests that omitted them got a window ending at process start. They now resolve in the handler.
This commit is contained in:
Josh Hawkins
2026-09-12 07:30:04 -06:00
committed by Nicolas Mowen
parent e2da7aae99
commit 9416e74aeb
4 changed files with 38 additions and 10 deletions
+6 -2
View File
@@ -7197,13 +7197,17 @@ paths:
in: query
required: false
schema:
type: number
anyOf:
- type: number
- type: 'null'
title: After
- name: before
in: query
required: false
schema:
type: number
anyOf:
- type: number
- type: 'null'
title: Before
responses:
'200':