diff options
Diffstat (limited to 'server/initializers/installer.ts')
-rw-r--r-- | server/initializers/installer.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/initializers/installer.ts b/server/initializers/installer.ts index e14554ede..cb58454cb 100644 --- a/server/initializers/installer.ts +++ b/server/initializers/installer.ts | |||
@@ -146,7 +146,7 @@ async function createOAuthAdminIfNotExist () { | |||
146 | } | 146 | } |
147 | const user = new UserModel(userData) | 147 | const user = new UserModel(userData) |
148 | 148 | ||
149 | await createUserAccountAndChannelAndPlaylist(user, undefined, validatePassword) | 149 | await createUserAccountAndChannelAndPlaylist({ userToCreate: user, channelNames: undefined, validateUser: validatePassword }) |
150 | logger.info('Username: ' + username) | 150 | logger.info('Username: ' + username) |
151 | logger.info('User password: ' + password) | 151 | logger.info('User password: ' + password) |
152 | } | 152 | } |