collab
This commit is contained in:
@@ -55,6 +55,15 @@ export class AuthController {
|
||||
return this.authService.getPublicUser(request.user!.sub);
|
||||
}
|
||||
|
||||
@Get('users/search')
|
||||
@UseGuards(JwtAuthGuard)
|
||||
searchUsers(
|
||||
@Req() request: AuthenticatedRequest,
|
||||
@Query('q') query?: string,
|
||||
) {
|
||||
return this.authService.searchUsers(request.user!.sub, query);
|
||||
}
|
||||
|
||||
@Patch('me/onboarding')
|
||||
@UseGuards(JwtAuthGuard)
|
||||
updateOnboarding(
|
||||
|
||||
Reference in New Issue
Block a user