mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 10:31:15 +00:00
refactor(core): Move license endpoints to a decorated controller class (no-changelog) (#8074)
This commit is contained in:
committed by
GitHub
parent
63a6e7e034
commit
a63d94f28c
@@ -144,8 +144,8 @@ export const setupTestServer = ({
|
||||
break;
|
||||
|
||||
case 'license':
|
||||
const { licenseController } = await import('@/license/license.controller');
|
||||
app.use(`/${REST_PATH_SEGMENT}/license`, licenseController);
|
||||
const { LicenseController } = await import('@/license/license.controller');
|
||||
registerController(app, config, Container.get(LicenseController));
|
||||
break;
|
||||
|
||||
case 'metrics':
|
||||
|
||||
Reference in New Issue
Block a user