diff options
author | Chocobozzz <me@florianbigard.com> | 2021-06-03 16:02:29 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-06-03 16:40:32 +0200 |
commit | 136d7efde798d3dc0ec0dd18aac674365f7d162e (patch) | |
tree | 3a0e2a7a5d04dedf0d8ffda99c2787cecb838891 /server/lib/video-channel.ts | |
parent | 49af5ac8c2653cb0ef23479c9d3256c5b724d49d (diff) | |
download | PeerTube-136d7efde798d3dc0ec0dd18aac674365f7d162e.tar.gz PeerTube-136d7efde798d3dc0ec0dd18aac674365f7d162e.tar.zst PeerTube-136d7efde798d3dc0ec0dd18aac674365f7d162e.zip |
Refactor AP actors
Diffstat (limited to 'server/lib/video-channel.ts')
-rw-r--r-- | server/lib/video-channel.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.ts index d57e832fe..2fd63a8c4 100644 --- a/server/lib/video-channel.ts +++ b/server/lib/video-channel.ts | |||
@@ -3,9 +3,9 @@ import { VideoChannelCreate } from '../../shared/models' | |||
3 | import { VideoModel } from '../models/video/video' | 3 | import { VideoModel } from '../models/video/video' |
4 | import { VideoChannelModel } from '../models/video/video-channel' | 4 | import { VideoChannelModel } from '../models/video/video-channel' |
5 | import { MAccountId, MChannelId } from '../types/models' | 5 | import { MAccountId, MChannelId } from '../types/models' |
6 | import { buildActorInstance } from './activitypub/actor' | ||
7 | import { getLocalVideoChannelActivityPubUrl } from './activitypub/url' | 6 | import { getLocalVideoChannelActivityPubUrl } from './activitypub/url' |
8 | import { federateVideoIfNeeded } from './activitypub/videos' | 7 | import { federateVideoIfNeeded } from './activitypub/videos' |
8 | import { buildActorInstance } from './local-actor' | ||
9 | 9 | ||
10 | async function createLocalVideoChannel (videoChannelInfo: VideoChannelCreate, account: MAccountId, t: Sequelize.Transaction) { | 10 | async function createLocalVideoChannel (videoChannelInfo: VideoChannelCreate, account: MAccountId, t: Sequelize.Transaction) { |
11 | const url = getLocalVideoChannelActivityPubUrl(videoChannelInfo.name) | 11 | const url = getLocalVideoChannelActivityPubUrl(videoChannelInfo.name) |