fix: do not cleanup compose applications as unconfigured

This commit is contained in:
Andras Bacsai committed 2023-01-16 10:22:14 +01:00
1 parent 9c8f6e9195
commit 05a5816ac6
2 files changed
+6

No files matched your search

@@ -122,6 +122,9 @@ export async function cleanupUnconfiguredApplications(request: FastifyRequest<an
include: { settings: true, destinationDocker: true, teams: true }
});
for (const application of applications) {
if (application?.buildPack === 'compose') {
continue;
}
if (
!application.buildPack ||
!application.destinationDockerId ||
@@ -1083,6 +1083,9 @@ export const applicationsRouter = router({
include: { settings: true, destinationDocker: true, teams: true }
});
for (const application of applications) {
if (application?.buildPack === 'compose') {
continue;
}
if (
!application.buildPack ||
!application.destinationDockerId ||