From 2c3cea8730ce9ab91747066fce438eace59c3f6e Mon Sep 17 00:00:00 2001 From: Ajax Davis Date: Thu, 15 Jan 2026 00:11:29 +1000 Subject: [PATCH] fix: include envVars in collection GET and PATCH responses --- apps/web/src/app/api/collections/[id]/route.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/apps/web/src/app/api/collections/[id]/route.ts b/apps/web/src/app/api/collections/[id]/route.ts index 075ef7b..282b699 100644 --- a/apps/web/src/app/api/collections/[id]/route.ts +++ b/apps/web/src/app/api/collections/[id]/route.ts @@ -134,6 +134,9 @@ export async function GET( description: collection.description, isPublic: collection.isPublic, toolCount: collection._count.tools, + executorType: collection.executorType, + executorConfig: collection.executorConfig, + envVars: collection.envVars, createdAt: collection.createdAt, updatedAt: collection.updatedAt, isOwner: collection.userId === authResult.userId, @@ -314,6 +317,7 @@ export async function PATCH( toolCount: collection._count.tools, executorType: collection.executorType, executorConfig: collection.executorConfig, + envVars: collection.envVars, createdAt: collection.createdAt, updatedAt: collection.updatedAt, },