fix(checklist): inclui templateDescription no retorno do ticket

O campo templateDescription estava sendo salvo no checklist mas nao
era incluido no mapeamento quando o ticket era retornado pela query.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
rever-tecnologia 2025-12-16 10:02:59 -03:00
parent e844f16b7f
commit 58cda4f6ea

View file

@ -2089,6 +2089,7 @@ export const getById = query({
required: typeof item.required === "boolean" ? item.required : true, required: typeof item.required === "boolean" ? item.required : true,
templateId: item.templateId ? String(item.templateId) : undefined, templateId: item.templateId ? String(item.templateId) : undefined,
templateItemId: item.templateItemId ?? undefined, templateItemId: item.templateItemId ?? undefined,
templateDescription: item.templateDescription ?? undefined,
createdAt: item.createdAt ?? undefined, createdAt: item.createdAt ?? undefined,
createdBy: item.createdBy ? String(item.createdBy) : undefined, createdBy: item.createdBy ? String(item.createdBy) : undefined,
doneAt: item.doneAt ?? undefined, doneAt: item.doneAt ?? undefined,