This commit is contained in:
2025-11-15 16:05:45 +03:30
parent e1f68730f9
commit c4a16df7d5
2 changed files with 2 additions and 6 deletions
@@ -13,11 +13,6 @@ export class CreateCategoryDto {
@ApiPropertyOptional({ example: true })
isActive?: boolean;
@IsOptional()
@IsString()
@ApiPropertyOptional({ example: 'restaurant-ulid' })
restId?: string;
@IsOptional()
@IsString()
@ApiPropertyOptional({ example: 'https://cdn.example.com/avatar.png' })
@@ -18,7 +18,8 @@ export class CategoryService {
const data: RequiredEntityData<Category> = {
title: dto.title,
isActive: dto.isActive ?? true,
restId: dto.restId,
//TODO
restId: '01KA35CFFN0F6VA04DF0W6KCE3',
avatarUrl: dto.avatarUrl,
};