diff --git a/src/lib/dokploy.ts b/src/lib/dokploy.ts index 14f1a3f..335e963 100755 --- a/src/lib/dokploy.ts +++ b/src/lib/dokploy.ts @@ -142,11 +142,11 @@ export function createDokployClient(config: DokployConfig) { }): Promise { await call('/application.saveGiteaProvider', { applicationId: input.applicationId, - owner: input.owner, - repository: input.repository, - branch: input.branch, - buildPath: input.buildPath ?? '/', - id: input.id ?? null, + giteaOwner: input.owner, + giteaRepository: input.repository, + giteaBranch: input.branch, + giteaBuildPath: input.buildPath ?? '/', + giteaId: input.id ?? null, }) } @@ -160,11 +160,11 @@ export function createDokployClient(config: DokployConfig) { }): Promise { await call('/application.saveGitProvider', { applicationId: input.applicationId, - owner: input.owner ?? null, - repository: input.repository ?? null, - branch: input.branch ?? 'main', - buildPath: input.buildPath ?? '/', - id: input.id ?? null, + gitProviderOwner: input.owner ?? null, + gitProviderRepository: input.repository ?? null, + gitProviderBranch: input.branch ?? 'main', + gitProviderBuildPath: input.buildPath ?? '/', + gitProviderId: input.id ?? null, }) } @@ -185,7 +185,6 @@ export function createDokployClient(config: DokployConfig) { githubId: input.githubId ?? null, }) } - async function saveBuildType(input: { applicationId: string buildType?: string