Skip to content

Commit 80b1fec

Browse files
committed
remove test account
1 parent 2abfc64 commit 80b1fec

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

apps/dashboard/src/app/(dashboard)/support/create-ticket/components/create-ticket.action.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff 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() || "";

packages/service-utils/src/core/api.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export type TeamResponse = {
108108
enabledScopes: ServiceName[];
109109
isOnboarded: boolean;
110110
capabilities: TeamCapabilities;
111+
unthreadCustomerId: string | null;
111112
};
112113

113114
export type ProjectSecretKey = {

0 commit comments

Comments
 (0)