From af41d2ae905771a2808e85f6263cff3d2b2d9c3d Mon Sep 17 00:00:00 2001 From: Adam Leach Date: Mon, 23 Jun 2025 22:46:34 +0100 Subject: [PATCH] Correct import for actionsRegistry The docs suggest using coreServices for actionsRegistry, but that is not available yet. This corrects the import in the docs Signed-off-by: Adam Leach --- docs/backend-system/core-services/actions-registry.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/backend-system/core-services/actions-registry.md b/docs/backend-system/core-services/actions-registry.md index 02ccfd1481..638d0c36d5 100644 --- a/docs/backend-system/core-services/actions-registry.md +++ b/docs/backend-system/core-services/actions-registry.md @@ -137,13 +137,15 @@ import { createBackendPlugin, coreServices, } from '@backstage/backend-plugin-api'; +import { actionsRegistryServiceRef } from '@backstage/backend-plugin-api/alpha'; + export const myPlugin = createBackendPlugin({ pluginId: 'my-plugin', register(env) { env.registerInit({ deps: { - actionsRegistry: coreServices.actionsRegistry, + actionsRegistry: actionsRegistryServiceRef, logger: coreServices.logger, }, async init({ actionsRegistry, logger }) {