File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed
apps/dashboard/src/app/(dashboard)/support/create-ticket/components
packages/service-utils/src/core Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -99,14 +99,10 @@ export async function createTicketAction(
9999 }
100100
101101 // @TODO : This needs to be updated to use team.unthreadCustomerId after all users are migrated.
102- let customerId = isValidPlan ( team . supportPlan )
102+ const customerId = isValidPlan ( team . supportPlan )
103103 ? planToCustomerId [ team . supportPlan ]
104104 : // fallback to "free" tier
105105 planToCustomerId . free ;
106- // @TODO : Test accounts. Remove when released.
107- if ( teamId === "clku79c5k0188520uyn729f7v" ) {
108- customerId = team . unthreadCustomerId ;
109- }
110106
111107 const product = formData . get ( "product" ) ?. toString ( ) || "" ;
112108 const problemArea = formData . get ( "extraInfo_Problem_Area" ) ?. toString ( ) || "" ;
Original file line number Diff line number Diff line change @@ -108,6 +108,7 @@ export type TeamResponse = {
108108 enabledScopes : ServiceName [ ] ;
109109 isOnboarded : boolean ;
110110 capabilities : TeamCapabilities ;
111+ unthreadCustomerId : string | null ;
111112} ;
112113
113114export type ProjectSecretKey = {
You can’t perform that action at this time.
0 commit comments