misc: made installation ID optional for github

This commit is contained in:
Sheen Capadngan
2025-01-08 19:17:38 +08:00
parent 0ecc196e5d
commit 5ba507bc1c
2 changed files with 2 additions and 2 deletions
@@ -6,7 +6,7 @@ import { GithubOauthCallbackPage } from "./GithubOauthCallbackPage";
export const GithubOAuthCallbackPageQueryParamsSchema = z.object({
state: z.string().catch(""),
installation_id: z.coerce.string().catch(""),
installation_id: z.coerce.string().optional().catch(""),
code: z.coerce.string().catch("")
});