diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-host.ts | 4 |
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' |
15 | import { VideoShareModel } from '../server/models/video/video-share' | 15 | import { VideoShareModel } from '../server/models/video/video-share' |
16 | import { VideoCommentModel } from '../server/models/video/video-comment' | 16 | import { VideoCommentModel } from '../server/models/video/video-comment' |
17 | import { getServerActor } from '../server/helpers/utils' | ||
18 | import { AccountModel } from '../server/models/account/account' | 17 | import { AccountModel } from '../server/models/account/account' |
19 | import { VideoChannelModel } from '../server/models/video/video-channel' | 18 | import { VideoChannelModel } from '../server/models/video/video-channel' |
20 | import { VideoStreamingPlaylistModel } from '../server/models/video/video-streaming-playlist' | 19 | import { VideoStreamingPlaylistModel } from '../server/models/video/video-streaming-playlist' |
21 | import { initDatabaseModels } from '../server/initializers' | 20 | import { initDatabaseModels } from '../server/initializers' |
22 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' | 21 | import { createTorrentAndSetInfoHash } from '@server/helpers/webtorrent' |
22 | import { getServerActor } from '@server/models/application/application' | ||
23 | 23 | ||
24 | run() | 24 | run() |
25 | .then(() => process.exit(0)) | 25 | .then(() => process.exit(0)) |