aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/controllers/api/users
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-07-13 11:58:01 +0200
committerChocobozzz <me@florianbigard.com>2022-07-13 12:14:26 +0200
commitba2684ceddf9b76312635b9cddc6bf6975ce436a (patch)
treed7c9618b9a6f632029d809d8bf342adc26c85cc8 /server/controllers/api/users
parente45dd87b93c621c606415f9e8d0d381de6d7a2d7 (diff)
downloadPeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.gz
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.tar.zst
PeerTube-ba2684ceddf9b76312635b9cddc6bf6975ce436a.zip
Fix lint
Diffstat (limited to 'server/controllers/api/users')
-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 })