From 6eac8091590959b3221577de8e4780e85c02a0b0 Mon Sep 17 00:00:00 2001 From: Dominik Pfaffenbauer Date: Wed, 25 Jan 2023 15:52:27 +0100 Subject: [PATCH] fix import of createScheduler Signed-off-by: Dominik Pfaffenbauer --- packages/backend/src/plugins/lighthouse.ts | 2 +- plugins/lighthouse-backend/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/backend/src/plugins/lighthouse.ts b/packages/backend/src/plugins/lighthouse.ts index 5ac9310e98..daabed8eb9 100644 --- a/packages/backend/src/plugins/lighthouse.ts +++ b/packages/backend/src/plugins/lighthouse.ts @@ -14,7 +14,7 @@ * limitations under the License. */ -import { create } from '@backstage/plugin-lighthouse-backend'; +import { createScheduler } from '@backstage/plugin-lighthouse-backend'; import { PluginEnvironment } from '../types'; import { CatalogClient } from '@backstage/catalog-client'; diff --git a/plugins/lighthouse-backend/README.md b/plugins/lighthouse-backend/README.md index 82a66d6053..8ae737725c 100644 --- a/plugins/lighthouse-backend/README.md +++ b/plugins/lighthouse-backend/README.md @@ -15,7 +15,7 @@ yarn add --cwd packages/backend @backstage/lighthouse-backend ```typescript import { Router } from 'express'; -import { create } from '@backstage/plugin-lighthouse-backend'; +import { createScheduler } from '@backstage/plugin-lighthouse-backend'; import { PluginEnvironment } from '../types'; import { CatalogClient } from '@backstage/catalog-client';