fix: include envVars in collection GET and PATCH responses
This commit is contained in:
parent
66670bc9fb
commit
2c3cea8730
1 changed files with 4 additions and 0 deletions
|
|
@ -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,
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue