admins
This commit is contained in:
@@ -11,11 +11,11 @@ import { Admin } from '../entities/admin.entity';
|
||||
@UseGuards(AdminAuthGuard)
|
||||
@ApiBearerAuth()
|
||||
@ApiTags('admin')
|
||||
@Controller('admin')
|
||||
@Controller('admin/admins')
|
||||
export class AdminController {
|
||||
constructor(private readonly adminService: AdminService) {}
|
||||
|
||||
@Get('admins')
|
||||
@Get()
|
||||
@ApiOperation({ summary: 'admin' })
|
||||
@ApiResponse({ status: 201, description: 'Admins' })
|
||||
async getAll(@RestId() restId: string) {
|
||||
|
||||
Reference in New Issue
Block a user