Merge pull request #28453 from Andrzejewski-dev/master

chore: update getFile in BitbucketServerClient to use REST API path
This commit is contained in:
Ben Lambert
2025-01-14 08:21:53 +01:00
committed by GitHub
3 changed files with 7 additions and 3 deletions
+5
View File
@@ -0,0 +1,5 @@
---
'@backstage/plugin-catalog-backend-module-bitbucket-server': patch
---
Updated the `getFile` method in `BitbucketServerClient` to use `this.config.apiBaseUrl` directly for constructing the API request URL, removing the creation of an unnecessary `URL` object. The method now relies on REST API paths for accessing resources instead of direct access, ensuring better alignment with Bitbucket's API conventions.