mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 19:42:24 +02:00
Cleanup reset user password by admin
And add some tests
This commit is contained in:
parent
67b1d3fed7
commit
b426edd485
18 changed files with 97 additions and 85 deletions
|
@ -167,7 +167,7 @@ async function deleteMe (req: express.Request, res: express.Response) {
|
|||
return res.sendStatus(204)
|
||||
}
|
||||
|
||||
async function updateMe (req: express.Request, res: express.Response, next: express.NextFunction) {
|
||||
async function updateMe (req: express.Request, res: express.Response) {
|
||||
const body: UserUpdateMe = req.body
|
||||
|
||||
const user: UserModel = res.locals.oauth.token.user
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue