]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/lib/video-channel.ts
Cache AP video route for 5 seconds
[github/Chocobozzz/PeerTube.git] / server / lib / video-channel.ts
index 569b8f29d79667203ccdb3b37ad55347c2b06603..600316cda66019008e211cf4e8e41551901ae37c 100644 (file)
@@ -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
   }