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:
parent
e844f16b7f
commit
58cda4f6ea
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue