X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Flib%2Fvideo-channel.ts;h=600316cda66019008e211cf4e8e41551901ae37c;hb=fd4484f19eae8b0a0c30d5d30e98880c8708516a;hp=569b8f29d79667203ccdb3b37ad55347c2b06603;hpb=50d6de9c286abcb34ff4234d56d9cbb803db7665;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/lib/video-channel.ts b/server/lib/video-channel.ts index 569b8f29d..600316cda 100644 --- a/server/lib/video-channel.ts +++ b/server/lib/video-channel.ts @@ -14,8 +14,9 @@ async function createVideoChannel (videoChannelInfo: VideoChannelCreate, account const actorInstanceCreated = await actorInstance.save({ transaction: t }) const videoChannelData = { - name: videoChannelInfo.name, + name: videoChannelInfo.displayName, description: videoChannelInfo.description, + support: videoChannelInfo.support, accountId: account.id, actorId: actorInstanceCreated.id }