fix(docs): add missing import for createServiceFactory in example code

Signed-off-by: Miaoxiang <zs1030823169@gmail.com>
This commit is contained in:
Miaoxiang
2025-06-09 16:19:14 +08:00
committed by GitHub
parent 296db2bbb9
commit 0f4d9f8395
@@ -12,7 +12,11 @@ The Root Health service provides some health check endpoints for the backend. By
The following example shows how you can override the root health service implementation.
```ts
import { RootHealthService, coreServices } from '@backstage/backend-plugin-api';
import {
RootHealthService,
coreServices,
createServiceFactory
} from '@backstage/backend-plugin-api';
const backend = createBackend();