Merge pull request #2214 from Dokploy/2203-identical-webhook-redeploy-url-after-duplicating-project

feat(project): add refreshToken to application and compose data retri…
This commit is contained in:
Mauricio Siu
2025-07-20 18:45:39 -06:00
committed by GitHub

View File

@@ -361,6 +361,7 @@ export const projectRouter = createTRPCRouter({
previewDeployments,
mounts,
appName,
refreshToken,
...application
} = await findApplicationById(id);
const newAppName = appName.substring(
@@ -603,8 +604,14 @@ export const projectRouter = createTRPCRouter({
break;
}
case "compose": {
const { composeId, mounts, domains, appName, ...compose } =
await findComposeById(id);
const {
composeId,
mounts,
domains,
appName,
refreshToken,
...compose
} = await findComposeById(id);
const newAppName = appName.substring(
0,