1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-04 10:19:35 +02:00

Add video channel management

This commit is contained in:
Chocobozzz 2018-04-26 16:11:38 +02:00
parent 7de6afdf54
commit 08c1efbe32
No known key found for this signature in database
GPG key ID: 583A612D890159BE
36 changed files with 580 additions and 53 deletions

View file

@ -17,9 +17,9 @@ async function createUserAccountAndChannel (userToCreate: UserModel, validateUse
const userCreated = await userToCreate.save(userOptions)
const accountCreated = await createLocalAccountWithoutKeys(userToCreate.username, userToCreate.id, null, t)
const videoChannelName = `Default ${userCreated.username} channel`
const videoChannelDisplayName = `Default ${userCreated.username} channel`
const videoChannelInfo = {
name: videoChannelName
displayName: videoChannelDisplayName
}
const videoChannel = await createVideoChannel(videoChannelInfo, accountCreated, t)