diff --git a/src/plugins/plugins.controller.ts b/src/plugins/plugins.controller.ts index 054172b0..83e1c911 100644 --- a/src/plugins/plugins.controller.ts +++ b/src/plugins/plugins.controller.ts @@ -70,7 +70,7 @@ export class PluginsController { return response.status(400).json({ error: "invalid url" }); } - if (CustomPagesController.isPrivateHost(raw)) { + if (PluginsController.isPrivateHost(raw)) { return response.status(400).json({ error: "invalid url" }); } @@ -116,7 +116,7 @@ export class PluginsController { scope: manifest.scope ?? null, module: manifest.module ?? manifest.exposedModule ?? null, requiredRole: manifest.requiredRole ?? null, - deployments: CustomPagesController.resolveDeployments( + deployments: PluginsController.resolveDeployments( manifest.deployments, ), });