fix: include envVars in collection GET and PATCH responses

This commit is contained in:
Ajax Davis 2026-01-15 00:11:29 +10:00
parent 66670bc9fb
commit 2c3cea8730

View file

@ -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,
},