mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-11-27 17:54:54 +00:00
feat: Add unit invitation code functionality and user verification using code
This commit is contained in:
@ -30,7 +30,7 @@ export class BuildingController {
|
||||
constructor(private readonly buildingService: BuildingService) {}
|
||||
|
||||
@ApiBearerAuth()
|
||||
@UseGuards(AdminRoleGuard, CheckCommunityTypeGuard)
|
||||
@UseGuards(JwtAuthGuard, CheckCommunityTypeGuard)
|
||||
@Post()
|
||||
async addBuilding(@Body() addBuildingDto: AddBuildingDto) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user