From 2f1756a03ccf3546f9bbcd98bc149e350d3d950a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 28 Jan 2020 14:30:10 +0100 Subject: [PATCH] Optimize peertube script --- server/tools/cli.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/tools/cli.ts b/server/tools/cli.ts index ba80872fb..15ac6c6a8 100644 --- a/server/tools/cli.ts +++ b/server/tools/cli.ts @@ -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()}` -- 2.25.1