From 1d90e39df3afbdcd7002aab11223a8e3daede214 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 21 Mar 2023 08:19:31 +0100 Subject: Fix console error --- client/src/assets/player/shared/peertube/peertube-plugin.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/assets') diff --git a/client/src/assets/player/shared/peertube/peertube-plugin.ts b/client/src/assets/player/shared/peertube/peertube-plugin.ts index da9b3bd0e..cf96b33ba 100644 --- a/client/src/assets/player/shared/peertube/peertube-plugin.ts +++ b/client/src/assets/player/shared/peertube/peertube-plugin.ts @@ -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 } -- cgit v1.2.3