File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ module.exports = {
1111 start : async function ( context ) {
1212
1313 const tools = await this . collectTools ( context ) ;
14- await context . service . stateAddToSet ( `user:${ context . userId } ` , {
14+ await context . service . stateAddToSet ( `mcpgateways: user:${ context . userId } ` , {
1515 flowId : context . flowId ,
1616 componentId : context . componentId ,
1717 tools,
@@ -27,7 +27,7 @@ module.exports = {
2727 stop : async function ( context ) {
2828
2929 const tools = await context . stateGet ( 'tools' ) ;
30- await context . service . stateRemoveFromSet ( `user:${ context . userId } ` , {
30+ await context . service . stateRemoveFromSet ( `mcpgateways: user:${ context . userId } ` , {
3131 flowId : context . flowId ,
3232 componentId : context . componentId ,
3333 tools,
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ module.exports = (context) => {
4848 const userId = user . getId ( ) ;
4949
5050 // Get all MCP Gateways for this user.
51- const components = await context . service . stateGet ( `user:${ userId } ` ) || [ ] ;
51+ const components = await context . service . stateGet ( `mcpgateways: user:${ userId } ` ) || [ ] ;
5252 return components ;
5353 }
5454 }
You can’t perform that action at this time.
0 commit comments