diff options
Diffstat (limited to 'shared/extra-utils/videos/videos.ts')
-rw-r--r-- | shared/extra-utils/videos/videos.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared/extra-utils/videos/videos.ts b/shared/extra-utils/videos/videos.ts index 0b6a54046..67fe82d41 100644 --- a/shared/extra-utils/videos/videos.ts +++ b/shared/extra-utils/videos/videos.ts | |||
@@ -498,7 +498,7 @@ function updateVideo ( | |||
498 | }) | 498 | }) |
499 | } | 499 | } |
500 | 500 | ||
501 | function rateVideo (url: string, accessToken: string, id: number, rating: string, specialStatus = HttpStatusCode.NO_CONTENT_204) { | 501 | function rateVideo (url: string, accessToken: string, id: number | string, rating: string, specialStatus = HttpStatusCode.NO_CONTENT_204) { |
502 | const path = '/api/v1/videos/' + id + '/rate' | 502 | const path = '/api/v1/videos/' + id + '/rate' |
503 | 503 | ||
504 | return request(url) | 504 | return request(url) |