aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
Diffstat (limited to 'client')
-rw-r--r--client/package.json2
-rw-r--r--client/src/assets/player/shared/peertube/peertube-plugin.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/package.json b/client/package.json
index 998a27f24..b8b3d4107 100644
--- a/client/package.json
+++ b/client/package.json
@@ -1,6 +1,6 @@
1{ 1{
2 "name": "peertube-client", 2 "name": "peertube-client",
3 "version": "5.1.0-rc.1", 3 "version": "5.1.0",
4 "private": true, 4 "private": true,
5 "license": "AGPL-3.0", 5 "license": "AGPL-3.0",
6 "author": { 6 "author": {
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