mirror of https://github.com/Chocobozzz/PeerTube
Fix console error
parent
8b197aca90
commit
1d90e39df3
|
@ -216,7 +216,7 @@ class PeerTubePlugin extends Plugin {
|
|||
saveVideoWatchHistory(this.videoUUID, currentTime)
|
||||
}
|
||||
|
||||
if (!this.videoViewUrl) return
|
||||
if (!this.videoViewUrl) return Promise.resolve(true)
|
||||
|
||||
const body: VideoView = { currentTime, viewEvent }
|
||||
|
||||
|
|
Loading…
Reference in New Issue