aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/assets/player/shared/peertube/peertube-plugin.ts2
1 files changed, 1 insertions, 1 deletions
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 {
216 saveVideoWatchHistory(this.videoUUID, currentTime) 216 saveVideoWatchHistory(this.videoUUID, currentTime)
217 } 217 }
218 218
219 if (!this.videoViewUrl) return 219 if (!this.videoViewUrl) return Promise.resolve(true)
220 220
221 const body: VideoView = { currentTime, viewEvent } 221 const body: VideoView = { currentTime, viewEvent }
222 222