mirror of
https://github.com/LukeHagar/dokploy.git
synced 2025-12-06 04:19:37 +00:00
feat(project): add refreshToken to application and compose data retrieval
- Included refreshToken in the data returned from findApplicationById and findComposeById functions to enhance application state management.
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user