fix: backend cli util to use the correct id

instead of using `pluginId: 'testPlugin'` now it uses the right id for
example `pluginId: 'test'`.

Signed-off-by: Heikki Hellgren <heikki.hellgren@op.fi>
This commit is contained in:
Heikki Hellgren
2024-04-08 08:26:13 +03:00
parent f0551639e9
commit 6b5ddbe622
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/cli': patch
---
Fix the backend plugin to use correct plugin id
@@ -10,7 +10,7 @@ import { createRouter } from './service/router';
* @public
*/
export const {{pluginVar}} = createBackendPlugin({
pluginId: '{{pluginVar}}',
pluginId: '{{id}}',
register(env) {
env.registerInit({
deps: {