mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix views events with lives
This commit is contained in:
@@ -50,8 +50,8 @@ export class LocalVideoViewerWatchSectionModel extends Model<Partial<AttributesO
|
||||
|
||||
for (const section of watchSections) {
|
||||
const model = await this.create({
|
||||
watchStart: section.start,
|
||||
watchEnd: section.end,
|
||||
watchStart: section.start || 0,
|
||||
watchEnd: section.end || 0,
|
||||
localVideoViewerId
|
||||
}, { transaction })
|
||||
|
||||
|
||||
Reference in New Issue
Block a user