mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-15 20:25:23 +02:00
refactor(bitbucket): streamline extractCommitedPaths function by passing Bitbucket object directly
This commit is contained in:
@@ -99,12 +99,8 @@ export default async function handler(
|
||||
|
||||
const commitedPaths = await extractCommitedPaths(
|
||||
req.body,
|
||||
composeResult.bitbucketOwner,
|
||||
composeResult.bitbucket?.apiToken ||
|
||||
composeResult.bitbucket?.appPassword ||
|
||||
"",
|
||||
composeResult.bitbucket,
|
||||
composeResult.bitbucketRepository || "",
|
||||
!!composeResult.bitbucket?.apiToken,
|
||||
);
|
||||
|
||||
const shouldDeployPaths = shouldDeploy(
|
||||
|
||||
Reference in New Issue
Block a user