export class ImportsCommand extends AbstractCommand {
importVideo (options: OverrideCommandOptions & {
export class ImportsCommand extends AbstractCommand {
importVideo (options: OverrideCommandOptions & {
}) {
const { attributes } = options
const path = '/api/v1/videos/imports'
let attaches: any = {}
if (attributes.torrentfile) attaches = { torrentfile: attributes.torrentfile }
}) {
const { attributes } = options
const path = '/api/v1/videos/imports'
let attaches: any = {}
if (attributes.torrentfile) attaches = { torrentfile: attributes.torrentfile }