Skip to content

Commit 7a507ce

Browse files
committed
handle number ids
1 parent 41f393f commit 7a507ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/utils/providers/github.server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ const GitHubEmailsResponseSchema = z.array(GitHubEmailSchema)
3535

3636
const GitHubUserResponseSchema = z.object({
3737
login: z.string(),
38-
id: z.string(),
38+
id: z.number().or(z.string()),
3939
name: z.string().optional(),
4040
avatar_url: z.string().optional(),
4141
})

0 commit comments

Comments
 (0)