Skip to content

Commit

Permalink
Fix local video creator crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Apr 5, 2024
1 parent abc6c2b commit f84ac3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/core/lib/local-video-creator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ export class LocalVideoCreator {
}).catch(err => {
// Reset elements to reinsert them in the database
this.video.isNewRecord = true
this.videoFile.isNewRecord = true
if (this.videoFile) this.videoFile.isNewRecord = true

for (const t of thumbnails) {
t.isNewRecord = true
Expand Down

0 comments on commit f84ac3b

Please sign in to comment.