Merge pull request #30371 from addersuk/patch-2

Correct import for actionsRegistry
This commit is contained in:
Ben Lambert
2025-06-24 09:07:25 +02:00
committed by GitHub
@@ -137,13 +137,14 @@ 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 }) {