1
0
Fork 0

Fix console error

This commit is contained in:
Chocobozzz 2023-03-21 08:19:31 +01:00
parent 8b197aca90
commit 1d90e39df3
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

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 }