diff --git a/backend/src/controllers/v2/workspaceController.ts b/backend/src/controllers/v2/workspaceController.ts index cc289c81d..562efeeab 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 });