mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Refactor variables controller into a RestController (no-changelog) (#7822)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
@@ -129,10 +129,10 @@ export const setupTestServer = ({
|
||||
break;
|
||||
|
||||
case 'variables':
|
||||
const { variablesController } = await import(
|
||||
'@/environments/variables/variables.controller'
|
||||
const { VariablesController } = await import(
|
||||
'@/environments/variables/variables.controller.ee'
|
||||
);
|
||||
app.use(`/${REST_PATH_SEGMENT}/variables`, variablesController);
|
||||
registerController(app, config, Container.get(VariablesController));
|
||||
break;
|
||||
|
||||
case 'license':
|
||||
|
||||
Reference in New Issue
Block a user