Merge pull request #4924 from dmtrTm/fix/rollback-query-arg-limit

fix: avoid postgres 100-argument limit in findRollbackById
This commit is contained in:
Mauricio Siu
2026-07-28 15:13:42 -06:00
committed by GitHub
+1 -13
View File
@@ -106,19 +106,7 @@ export const findRollbackById = async (rollbackId: string) => {
const result = await db.query.rollbacks.findFirst({
where: eq(rollbacks.rollbackId, rollbackId),
with: {
deployment: {
with: {
application: {
with: {
environment: {
with: {
project: true,
},
},
},
},
},
},
deployment: true,
},
});