fix: limit application columns in findPreviewDeploymentById to avoid postgres 100-arg limit

Closes #4256
This commit is contained in:
Jack
2026-04-19 11:14:47 +01:00
parent b392e58001
commit 54417ca8e7
@@ -30,13 +30,9 @@ export const findPreviewDeploymentById = async (
with: {
domain: true,
application: {
with: {
server: true,
environment: {
with: {
project: true,
},
},
columns: {
applicationId: true,
serverId: true,
},
},
},