mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
refactor(core): Delete unused GET /me endpoint (no-changelog) (#5498)
This commit is contained in:
committed by
GitHub
parent
d143f3f2ec
commit
12104bc4a3
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user