mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-09-26 22:28:59 +03:00
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:
committed by
Nicolas Mowen
parent
e2da7aae99
commit
9416e74aeb
Vendored
+6
-2
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user