Go back to using node-fetch for gitlab

Signed-off-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Fredrik Adelöw
2024-12-23 12:50:36 +01:00
parent f8e386f40d
commit 575613f560
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,