mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Fix issues on server start
This commit is contained in:
@@ -16,8 +16,9 @@ async function createUserAccountAndChannel (user: UserInstance, validateUser = t
|
||||
const userCreated = await user.save(userOptions)
|
||||
const accountCreated = await createLocalAccount(user.username, user.id, null, t)
|
||||
|
||||
const videoChannelName = `Default ${userCreated.username} channel`
|
||||
const videoChannelInfo = {
|
||||
name: `Default ${userCreated.username} channel`
|
||||
name: videoChannelName
|
||||
}
|
||||
const videoChannel = await createVideoChannel(videoChannelInfo, accountCreated, t)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user