Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

add `inviteCode` to `WorkspaceSchema`

Kiran K342fbaddce45
diff --git a/apps/web/lib/zod/schemas/workspaces.ts b/apps/web/lib/zod/schemas/workspaces.ts
index 22b3c5ae58..08fba0a171 100644
--- a/apps/web/lib/zod/schemas/workspaces.ts
+++ b/apps/web/lib/zod/schemas/workspaces.ts
@@ -51,6 +51,10 @@ export const WorkspaceSchema = z
}),
)
.describe("The domains of the workspace."),
+ inviteCode: z
+ .string()
+ .nullable()
+ .describe("The invite code of the workspace."),
})
.openapi({
title: "Workspace",