mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-07-05 05:55:21 +02:00
chore: update zod and react-hook-form integration to use standard-schema resolver; update dependencies in pnpm-lock.yaml
This commit is contained in:
@@ -5,6 +5,7 @@ import { findGithubById, type Github } from "@dokploy/server/services/github";
|
||||
import type { InferResultType } from "@dokploy/server/types/with";
|
||||
import { createAppAuth } from "@octokit/auth-app";
|
||||
import { TRPCError } from "@trpc/server";
|
||||
import type { z } from "zod";
|
||||
import { Octokit } from "octokit";
|
||||
|
||||
export const authGithub = (githubProvider: Github): Octokit => {
|
||||
@@ -197,7 +198,7 @@ export const getGithubRepositories = async (githubId?: string) => {
|
||||
};
|
||||
|
||||
export const getGithubBranches = async (
|
||||
input: typeof apiFindGithubBranches._type,
|
||||
input: z.infer<typeof apiFindGithubBranches>,
|
||||
) => {
|
||||
if (!input.githubId) {
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user