feat: made all redirect route to coerce it

This commit is contained in:
=
2025-01-08 16:27:56 +05:30
parent 34354994d8
commit ddac9f7cc4
10 changed files with 10 additions and 10 deletions
@@ -5,7 +5,7 @@ import { z } from "zod";
import { GitHubOAuthCallbackPage } from "./GithubOauthCallbackPage";
const GitHubOAuthCallbackPageQueryParamsSchema = z.object({
code: z.string().catch(""),
code: z.coerce.string().catch(""),
state: z.string().catch(""),
installation_id: z.coerce.string().catch("")
});