refactor(core): Move license endpoints to a decorated controller class (no-changelog) (#8074)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2023-12-19 12:13:19 +01:00
committed by GitHub
parent 63a6e7e034
commit a63d94f28c
13 changed files with 224 additions and 193 deletions

View File

@@ -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':