mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 08:46:54 -06:00
Fix local video creator crash
This commit is contained in:
parent
abc6c2b7f4
commit
f84ac3ba41
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user