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)