-import { omit, pick } from 'lodash'
-import { HttpStatusCode } from '@shared/core-utils'
+import { omit } from 'lodash'
+import { pick } from '@shared/core-utils'
import {
BooleanBothQuery,
+ HttpStatusCode,
ResultList,
VideoExistInPlaylist,
VideoPlaylist,
const attributes = {
...options.attributes,
- videoId: await this.server.videosCommand.getId({ ...options, uuid: options.attributes.videoId })
+ videoId: await this.server.videos.getId({ ...options, uuid: options.attributes.videoId })
}
const path = '/api/v1/video-playlists/' + options.playlistId + '/videos'