mirror of
https://github.com/docmost/docmost.git
synced 2025-11-24 02:21:24 +10:00
fix groups
This commit is contained in:
@ -1,4 +1,9 @@
|
||||
import { PartialType } from '@nestjs/mapped-types';
|
||||
import { CreateGroupDto } from './create-group.dto';
|
||||
import { IsNotEmpty, IsUUID } from 'class-validator';
|
||||
|
||||
export class UpdateGroupDto extends PartialType(CreateGroupDto) {}
|
||||
export class UpdateGroupDto extends PartialType(CreateGroupDto) {
|
||||
@IsNotEmpty()
|
||||
@IsUUID()
|
||||
groupId: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user