mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-20 11:48:31 -06:00
Fix tests build
This commit is contained in:
parent
d6aeed4359
commit
8ed4b82346
@ -1,6 +1,4 @@
|
||||
import {
|
||||
HttpStatusCode, VideoChapterUpdate, VideoChapters
|
||||
} from '@peertube/peertube-models'
|
||||
import { HttpStatusCode, VideoChapter, VideoChapterUpdate } from '@peertube/peertube-models'
|
||||
import { AbstractCommand, OverrideCommandOptions } from '../shared/index.js'
|
||||
|
||||
export class ChaptersCommand extends AbstractCommand {
|
||||
@ -10,7 +8,7 @@ export class ChaptersCommand extends AbstractCommand {
|
||||
}) {
|
||||
const path = '/api/v1/videos/' + options.videoId + '/chapters'
|
||||
|
||||
return this.getRequestBody<VideoChapters>({
|
||||
return this.getRequestBody<{ chapters: VideoChapter[] }>({
|
||||
...options,
|
||||
|
||||
path,
|
||||
|
Loading…
Reference in New Issue
Block a user