From 5db31ba3651eae7d9a5ceaef584b658977a99060 Mon Sep 17 00:00:00 2001 From: rever-tecnologia Date: Wed, 17 Dec 2025 19:15:34 -0300 Subject: [PATCH] fix(sla): corrige tipo de categoryId na insercao de regra MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- convex/companySlas.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/convex/companySlas.ts b/convex/companySlas.ts index 6253e0f..4f5ff96 100644 --- a/convex/companySlas.ts +++ b/convex/companySlas.ts @@ -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,