fix: Test preview - Routing forms crash for regular teams(that are not sub-teams) (#19353)

This commit is contained in:
Hariom Balhara authored and GitHub committed 2025-02-19 08:20:26 +00:00
1 parent d3f1dc1b32
commit 17fcc2c213
4 files changed
+78 -18

No files matched your search

@@ -1,5 +1,6 @@
/**
* This route is used only by "Test Preview" button
* This route is used only by "Test Preview" button and Virtual Queues
* Also, it is applicable only for sub-teams. Regular teams and user Routing Forms don't hit this endpoint.
* Live mode uses findTeamMembersMatchingAttributeLogicOfRoute fn directly
*/
import type { App_RoutingForms_Form } from "@prisma/client";