mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-20 14:45:42 +02:00
refactor: restructure application and rollback context to encapsulate project within environment, improving data organization and clarity across services
This commit is contained in:
@@ -20,7 +20,11 @@ export default async function handler(
|
||||
const application = await db.query.applications.findFirst({
|
||||
where: eq(applications.refreshToken, refreshToken as string),
|
||||
with: {
|
||||
project: true,
|
||||
environment: {
|
||||
with: {
|
||||
project: true,
|
||||
},
|
||||
},
|
||||
bitbucket: true,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user