lint
This commit is contained in:
@@ -7,7 +7,6 @@ export class CreateRoleDto {
|
||||
@IsString()
|
||||
name!: string;
|
||||
|
||||
|
||||
@ApiProperty({ description: 'List of permission IDs', isArray: true, required: false })
|
||||
@IsOptional()
|
||||
@IsArray()
|
||||
|
||||
@@ -10,7 +10,7 @@ export class Permission extends BaseEntity {
|
||||
|
||||
@Property()
|
||||
title!: string;
|
||||
// اضافه شد
|
||||
// اضافه شد
|
||||
@Property({ default: 'general' })
|
||||
group!: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user