refactor(core): Delete unused GET /me endpoint (no-changelog) (#5498)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-02-17 10:58:48 +01:00
committed by GitHub
parent d143f3f2ec
commit 12104bc4a3
5 changed files with 1 additions and 124 deletions

View File

@@ -49,14 +49,6 @@ export class MeController {
this.userRepository = repositories.User;
}
/**
* Return the logged-in user.
*/
@Get('/')
async getCurrentUser(req: AuthenticatedRequest): Promise<PublicUser> {
return sanitizeUser(req.user);
}
/**
* Update the logged-in user's settings, except password.
*/