diff options
Diffstat (limited to 'shared/server-commands/videos/videos-command.ts')
-rw-r--r-- | shared/server-commands/videos/videos-command.ts | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/shared/server-commands/videos/videos-command.ts b/shared/server-commands/videos/videos-command.ts index 21753ddc4..2ac426f76 100644 --- a/shared/server-commands/videos/videos-command.ts +++ b/shared/server-commands/videos/videos-command.ts | |||
@@ -107,23 +107,6 @@ export class VideosCommand extends AbstractCommand { | |||
107 | 107 | ||
108 | // --------------------------------------------------------------------------- | 108 | // --------------------------------------------------------------------------- |
109 | 109 | ||
110 | view (options: OverrideCommandOptions & { | ||
111 | id: number | string | ||
112 | xForwardedFor?: string | ||
113 | }) { | ||
114 | const { id, xForwardedFor } = options | ||
115 | const path = '/api/v1/videos/' + id + '/views' | ||
116 | |||
117 | return this.postBodyRequest({ | ||
118 | ...options, | ||
119 | |||
120 | path, | ||
121 | xForwardedFor, | ||
122 | implicitToken: false, | ||
123 | defaultExpectedStatus: HttpStatusCode.NO_CONTENT_204 | ||
124 | }) | ||
125 | } | ||
126 | |||
127 | rate (options: OverrideCommandOptions & { | 110 | rate (options: OverrideCommandOptions & { |
128 | id: number | string | 111 | id: number | string |
129 | rating: UserVideoRateType | 112 | rating: UserVideoRateType |