Скорректированы dto и sql инструкции для новой базы данных cloud-beta.

This commit is contained in:
Первов Артем
2026-07-01 21:50:05 +03:00
parent 14a75acb15
commit cc3c5fab06
10 changed files with 10 additions and 37 deletions

View File

@@ -10,9 +10,8 @@ export class TagService {
/** Нормализует фильтры и возвращает метаданные тегов для UI. */
async findAll(query: GetTagsDto): Promise<TagResponseDto> {
const edge = query.edge ?? null;
const search = query.search ? `%${query.search}%` : null;
const rows = await this.repository.findAll(edge, search);
const rows = await this.repository.findAll(search);
return createTagResponse(rows);
}
}