mirror of
https://github.com/SyncrowIOT/backend.git
synced 2026-10-26 01:17:54 +00:00
feat: Add unit invitation code functionality and user verification using code
This commit is contained in:
@@ -28,7 +28,7 @@ export class RoomController {
|
||||
constructor(private readonly roomService: RoomService) {}
|
||||
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(AdminRoleGuard, CheckUnitTypeGuard)
|
||||
@UseGuards(JwtAuthGuard, CheckUnitTypeGuard)
|
||||
@Post()
|
||||
async addRoom(@Body() addRoomDto: AddRoomDto) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user