mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2024-12-26 07:05:56 -05:00
typo fix: s/firstUncommited/firstUncommitted/
The typo prevented the "@" URL constraint from being correctly added, so a backend restart could change the video to point somewhere unintended.
This commit is contained in:
parent
56661924ae
commit
182ed23a06
@ -183,7 +183,7 @@ export async function logout(req: LogoutRequest, init: RequestInit) {
|
||||
export interface Recording {
|
||||
startId: number;
|
||||
endId?: number;
|
||||
firstUncommited?: number;
|
||||
firstUncommitted?: number;
|
||||
growing?: boolean;
|
||||
openId: number;
|
||||
startTime90k: number;
|
||||
@ -256,7 +256,7 @@ export function recordingUrl(
|
||||
if (r.endId !== undefined) {
|
||||
s += `-${r.endId}`;
|
||||
}
|
||||
if (r.firstUncommited !== undefined) {
|
||||
if (r.firstUncommitted !== undefined) {
|
||||
s += `@${r.openId}`;
|
||||
}
|
||||
return withQuery(`/api/cameras/${cameraUuid}/${stream}/view.mp4`, {
|
||||
|
Loading…
Reference in New Issue
Block a user