Fix console error

This commit is contained in:
Chocobozzz
2023-03-21 08:19:31 +01:00
parent 8b197aca90
commit 1d90e39df3

View File

@@ -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 }