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:
parent
7de6afdf54
commit
08c1efbe32
36 changed files with 580 additions and 53 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue