Merge pull request #28283 from backstage/freben/gitlab-node-fetch

Go back to using node-fetch for gitlab
This commit is contained in:
Ben Lambert
2024-12-24 10:52:33 +01:00
committed by GitHub
5 changed files with 23 additions and 2 deletions
@@ -61,6 +61,7 @@
"@backstage/plugin-events-node": "workspace:^",
"@gitbeaker/rest": "^40.0.3",
"lodash": "^4.17.21",
"node-fetch": "^2.7.0",
"uuid": "^11.0.0"
},
"devDependencies": {
@@ -14,6 +14,9 @@
* limitations under the License.
*/
// NOTE(freben): Intentionally uses node-fetch because of https://github.com/backstage/backstage/issues/28190
import fetch from 'node-fetch';
import {
getGitLabRequestOptions,
GitLabIntegrationConfig,