fix(sla): corrige tipo de categoryId na insercao de regra
Some checks failed
Some checks failed
🤖 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
158fb32b8a
commit
5db31ba365
1 changed files with 1 additions and 1 deletions
|
|
@ -195,7 +195,7 @@ export const save = mutation({
|
|||
await ctx.db.insert("companySlaSettings", {
|
||||
tenantId,
|
||||
companyId,
|
||||
categoryId: rule.categoryId ?? undefined,
|
||||
categoryId: rule.categoryId ? (rule.categoryId as Id<"ticketCategories">) : undefined,
|
||||
priority: rule.priority,
|
||||
responseTargetMinutes: rule.responseTargetMinutes,
|
||||
responseMode: rule.responseMode,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue