aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/server-commands/videos
diff options
context:
space:
mode:
Diffstat (limited to 'shared/server-commands/videos')
-rw-r--r--shared/server-commands/videos/views-command.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/server-commands/videos/views-command.ts b/shared/server-commands/videos/views-command.ts
index 01113f798..bdb8daaa4 100644
--- a/shared/server-commands/videos/views-command.ts
+++ b/shared/server-commands/videos/views-command.ts
@@ -6,7 +6,7 @@ export class ViewsCommand extends AbstractCommand {
6 6
7 view (options: OverrideCommandOptions & { 7 view (options: OverrideCommandOptions & {
8 id: number | string 8 id: number | string
9 currentTime?: number 9 currentTime: number
10 viewEvent?: VideoViewEvent 10 viewEvent?: VideoViewEvent
11 xForwardedFor?: string 11 xForwardedFor?: string
12 }) { 12 }) {
@@ -19,7 +19,7 @@ export class ViewsCommand extends AbstractCommand {
19 path, 19 path,
20 xForwardedFor, 20 xForwardedFor,
21 fields: { 21 fields: {
22 currentTime: currentTime ?? 1, 22 currentTime,
23 viewEvent 23 viewEvent
24 }, 24 },
25 implicitToken: false, 25 implicitToken: false,