Create "url" type location when registering using the catalog-import plugin
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
---
|
||||
'@backstage/plugin-catalog-import': patch
|
||||
---
|
||||
|
||||
Create "url" type location when registering using the catalog-import plugin.
|
||||
@@ -49,7 +49,7 @@ export class CatalogImportClient implements CatalogImportApi {
|
||||
},
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
location: { type: 'github', target: repo },
|
||||
location: { type: 'url', target: repo },
|
||||
}),
|
||||
},
|
||||
).catch(e => {
|
||||
@@ -78,7 +78,7 @@ export class CatalogImportClient implements CatalogImportApi {
|
||||
},
|
||||
method: 'POST',
|
||||
body: JSON.stringify({
|
||||
type: 'github',
|
||||
type: 'url',
|
||||
target: location,
|
||||
presence: 'optional',
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user