aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/controllers/api/users/index.ts')
-rw-r--r--server/controllers/api/users/index.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/controllers/api/users/index.ts b/server/controllers/api/users/index.ts
index 46e80d56d..7761ba602 100644
--- a/server/controllers/api/users/index.ts
+++ b/server/controllers/api/users/index.ts
@@ -226,7 +226,7 @@ async function registerUser (req: express.Request, res: express.Response) {
226 }) 226 })
227 227
228 const { user, account, videoChannel } = await createUserAccountAndChannelAndPlaylist({ 228 const { user, account, videoChannel } = await createUserAccountAndChannelAndPlaylist({
229 userToCreate: userToCreate, 229 userToCreate,
230 userDisplayName: body.displayName || undefined, 230 userDisplayName: body.displayName || undefined,
231 channelNames: body.channel 231 channelNames: body.channel
232 }) 232 })