-async function createLocalVideoChannel <T extends MAccountId> (
- videoChannelInfo: VideoChannelCreate,
- account: T,
- t: Sequelize.Transaction
-): Promise<CustomVideoChannelModelAccount<T>> {
- const uuid = uuidv4()
- const url = getVideoChannelActivityPubUrl(videoChannelInfo.name)
- const actorInstance = buildActorInstance('Group', url, videoChannelInfo.name, uuid)
+async function createLocalVideoChannel (videoChannelInfo: VideoChannelCreate, account: MAccountId, t: Sequelize.Transaction) {
+ const url = getLocalVideoChannelActivityPubUrl(videoChannelInfo.name)
+ const actorInstance = buildActorInstance('Group', url, videoChannelInfo.name)