1
0
Fork 0

Optimize peertube script

This commit is contained in:
Chocobozzz 2020-01-28 14:30:10 +01:00
parent 005b51b977
commit 2f1756a03c
No known key found for this signature in database
GPG key ID: 583A612D890159BE

View file

@ -6,8 +6,9 @@ import { getVideoChannel } from '../../shared/extra-utils/videos/video-channels'
import { Command } from 'commander'
import { VideoChannel, VideoPrivacy } from '../../shared/models/videos'
import { createLogger, format, transports } from 'winston'
import { getAccessToken, getMyUserInformation } from '@shared/extra-utils'
import { getMyUserInformation } from '@shared/extra-utils/users/users'
import { User, UserRole } from '@shared/models'
import { getAccessToken } from '@shared/extra-utils/users/login'
let configName = 'PeerTube/CLI'
if (isTestInstance()) configName += `-${getAppNumber()}`