Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions apps/api/src/pkg/testutil/harness.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,6 @@ export abstract class Harness {
const unkeyWorkspace: Workspace = {
id: newId("test"),
name: "unkey",
clerkTenantId: newId("test"),
orgId: newId("test"),
plan: "enterprise",
tier: "Enterprise",
Expand All @@ -276,7 +275,6 @@ export abstract class Harness {
id: newId("test"),
name: "user",
orgId: newId("test"),
clerkTenantId: newId("test"),
plan: "pro",
tier: "Pro Max",
features: {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ test("cannot read keys from a different workspace", async (t) => {
await h.db.primary.insert(schema.workspaces).values({
id: workspaceId,
orgId: randomUUID(),
clerkTenantId: randomUUID(),
name: randomUUID(),
features: {},
betaFeatures: {},
Expand Down
2 changes: 0 additions & 2 deletions apps/dashboard/app/(app)/gateway-new/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ export default async function Page() {
id,
name: "Personal Workspace",
orgId,
// dumb hack to keep the unique property but also clearly mark it as a workos identifier
clerkTenantId: `workos_${orgId}`,
betaFeatures: {},
features: {},
});
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/app/auth/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ export async function completeOrgSelection(
return {
success: false,
code: AuthErrorCode.PENDING_SESSION_EXPIRED,
message: errorMessages[AuthErrorCode.PENDING_SESSION_EXPIRED]
message: errorMessages[AuthErrorCode.PENDING_SESSION_EXPIRED],
};
}

Expand Down
2 changes: 0 additions & 2 deletions apps/dashboard/lib/trpc/routers/workspace/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ export const createWorkspace = t.procedure
const workspace: Workspace = {
id: newId("workspace"),
orgId: orgId,
// dumb hack to keep the unique property but also clearly mark it as a workos identifier
clerkTenantId: `workos_${orgId}`,
name: input.name,
plan: "free",
tier: "Free",
Expand Down
Loading
Loading