aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/update-host.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-23 11:36:50 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-04 16:21:39 +0200
commite1c5503114deef954731904695cd40dccfcef555 (patch)
tree72cec4ee691a3362a7d024dc830d215a6b2c800a /scripts/update-host.ts
parent8dc8a34ee8428e7657414115d1c137592efa174d (diff)
downloadPeerTube-e1c5503114deef954731904695cd40dccfcef555.tar.gz
PeerTube-e1c5503114deef954731904695cd40dccfcef555.tar.zst
PeerTube-e1c5503114deef954731904695cd40dccfcef555.zip
Support logout and add id and pass tests
Diffstat (limited to 'scripts/update-host.ts')
-rwxr-xr-xscripts/update-host.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/update-host.ts b/scripts/update-host.ts
index 54b31d786..7b07dea04 100755
--- a/scripts/update-host.ts
+++ b/scripts/update-host.ts
@@ -11,15 +11,15 @@ import {
11 getVideoAnnounceActivityPubUrl, 11 getVideoAnnounceActivityPubUrl,
12 getVideoChannelActivityPubUrl, 12 getVideoChannelActivityPubUrl,
13 getVideoCommentActivityPubUrl 13 getVideoCommentActivityPubUrl
14} from '../server/lib/activitypub' 14} from '../server/lib/activitypub/url'
15import { VideoShareModel } from '../server/models/video/video-share' 15import { VideoShareModel } from '../server/models/video/video-share'
16import { VideoCommentModel } from '../server/models/video/video-comment' 16import { VideoCommentModel } from '../server/models/video/video-comment'
17import { getServerActor } from '../server/helpers/utils'
18import { AccountModel } from '../server/models/account/account' 17import { AccountModel } from '../server/models/account/account'
19import { VideoChannelModel } from '../server/models/video/video-channel' 18import { VideoChannelModel } from '../server/models/video/video-channel'
20import { VideoStreamingPlaylistModel } from '../server/models/video/video-streaming-playlist' 19import { VideoStreamingPlaylistModel } from '../server/models/video/video-streaming-playlist'
21import { initDatabaseModels } from '../server/initializers' 20import { initDatabaseModels } from '../server/initializers'
22import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' 21import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent'
22import { getServerActor } from '@server/models/application/application'
23 23
24run() 24run()
25 .then(() => process.exit(0)) 25 .then(() => process.exit(0))