aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--server/tools/cli.ts3
1 files changed, 2 insertions, 1 deletions
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'
6import { Command } from 'commander' 6import { Command } from 'commander'
7import { VideoChannel, VideoPrivacy } from '../../shared/models/videos' 7import { VideoChannel, VideoPrivacy } from '../../shared/models/videos'
8import { createLogger, format, transports } from 'winston' 8import { createLogger, format, transports } from 'winston'
9import { getAccessToken, getMyUserInformation } from '@shared/extra-utils' 9import { getMyUserInformation } from '@shared/extra-utils/users/users'
10import { User, UserRole } from '@shared/models' 10import { User, UserRole } from '@shared/models'
11import { getAccessToken } from '@shared/extra-utils/users/login'
11 12
12let configName = 'PeerTube/CLI' 13let configName = 'PeerTube/CLI'
13if (isTestInstance()) configName += `-${getAppNumber()}` 14if (isTestInstance()) configName += `-${getAppNumber()}`