Fix console error

pull/5722/head
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) saveVideoWatchHistory(this.videoUUID, currentTime)
} }
if (!this.videoViewUrl) return if (!this.videoViewUrl) return Promise.resolve(true)
const body: VideoView = { currentTime, viewEvent } const body: VideoView = { currentTime, viewEvent }