Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Update channel in workspace v2 controller

Tuan Dangcc408d89081f
diff --git a/backend/src/controllers/v2/workspaceController.ts b/backend/src/controllers/v2/workspaceController.ts
index cc289c81d7..562efeeabe 100644
--- a/backend/src/controllers/v2/workspaceController.ts
+++ b/backend/src/controllers/v2/workspaceController.ts
@@ -127,7 +127,7 @@ export const pullSecrets = async (req: Request, res: Response) => {
userId,
workspaceId,
environment,
- channel,
+ channel: channel ? channel : 'cli',
ipAddress: req.ip
});