first commit
This commit is contained in:
12
apps/api/src/users/users.controller.ts
Normal file
12
apps/api/src/users/users.controller.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Controller, Get } from '@nestjs/common';
|
||||
import { UsersService } from './users.service';
|
||||
|
||||
@Controller('users')
|
||||
export class UsersController {
|
||||
constructor(private readonly users: UsersService) {}
|
||||
|
||||
@Get('me')
|
||||
me() {
|
||||
return this.users.me();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user