@@ -31,7 +31,6 @@ API.v1.addRoute('users.create', { authRequired: true }, {
3131 username : String ,
3232 active : Match . Maybe ( Boolean ) ,
3333 bio : Match . Maybe ( String ) ,
34- nickname : Match . Maybe ( String ) ,
3534 statusText : Match . Maybe ( String ) ,
3635 roles : Match . Maybe ( Array ) ,
3736 joinDefaultChannels : Match . Maybe ( Boolean ) ,
@@ -437,7 +436,6 @@ API.v1.addRoute('users.update', { authRequired: true, twoFactorRequired: true },
437436 password : Match . Maybe ( String ) ,
438437 username : Match . Maybe ( String ) ,
439438 bio : Match . Maybe ( String ) ,
440- nickname : Match . Maybe ( String ) ,
441439 statusText : Match . Maybe ( String ) ,
442440 active : Match . Maybe ( Boolean ) ,
443441 roles : Match . Maybe ( Array ) ,
@@ -475,7 +473,6 @@ API.v1.addRoute('users.updateOwnBasicInfo', { authRequired: true }, {
475473 email : Match . Maybe ( String ) ,
476474 name : Match . Maybe ( String ) ,
477475 username : Match . Maybe ( String ) ,
478- nickname : Match . Maybe ( String ) ,
479476 statusText : Match . Maybe ( String ) ,
480477 currentPassword : Match . Maybe ( String ) ,
481478 newPassword : Match . Maybe ( String ) ,
@@ -487,7 +484,6 @@ API.v1.addRoute('users.updateOwnBasicInfo', { authRequired: true }, {
487484 email : this . bodyParams . data . email ,
488485 realname : this . bodyParams . data . name ,
489486 username : this . bodyParams . data . username ,
490- nickname : this . bodyParams . data . nickname ,
491487 statusText : this . bodyParams . data . statusText ,
492488 newPassword : this . bodyParams . data . newPassword ,
493489 typedPassword : this . bodyParams . data . currentPassword ,
0 commit comments