Skip to content

Commit

Permalink
Merge pull request #1603 from dubinc/userid-nullable
Browse files Browse the repository at this point in the history
fix: make `userId` nullable in `LinkSchema`
  • Loading branch information
steven-tey authored Oct 22, 2024
2 parents dc2ac16 + 1d80cac commit fdac036
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/web/lib/zod/schemas/links.ts
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,7 @@ export const LinkSchema = z
.describe("The UTM content of the short link."),
userId: z
.string()
.nullable()
.describe("The user ID of the creator of the short link."),
workspaceId: z.string().describe("The workspace ID of the short link."),
clicks: z
Expand Down

0 comments on commit fdac036

Please sign in to comment.