]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/initializers/installer.ts
Add ability to specify channel on registration
[github/Chocobozzz/PeerTube.git] / server / initializers / installer.ts
index 33970f0fae9195b4cc46c2e4107e93eb8956db7e..e14554ede5191c0df5376b2b2a67dcfbac0b83c0 100644 (file)
@@ -146,7 +146,7 @@ async function createOAuthAdminIfNotExist () {
   }
   const user = new UserModel(userData)
 
-  await createUserAccountAndChannelAndPlaylist(user, validatePassword)
+  await createUserAccountAndChannelAndPlaylist(user, undefined, validatePassword)
   logger.info('Username: ' + username)
   logger.info('User password: ' + password)
 }