Implement restaurant ID handling in schedule operations; add AdminAuthGuard for access control; enhance schedule service with validation for existing schedules and restaurant existence checks.
This commit is contained in:
@@ -30,7 +30,4 @@ export class CreateScheduleDto {
|
||||
@Type(() => Boolean)
|
||||
isActive?: boolean;
|
||||
|
||||
@ApiProperty({ example: 'rest-ulid-123', description: 'شناسه رستوران' })
|
||||
@IsString()
|
||||
restId!: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user