From 8db173810283ccdf147f653cd224c32a39aa83dd Mon Sep 17 00:00:00 2001 From: josh Date: Fri, 9 Jun 2023 23:26:44 -0400 Subject: [PATCH] Use node-fetch in backend plugin Signed-off-by: josh --- plugins/nomad-backend/src/service/router.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/nomad-backend/src/service/router.ts b/plugins/nomad-backend/src/service/router.ts index 086137e2d7..f36c9e657e 100644 --- a/plugins/nomad-backend/src/service/router.ts +++ b/plugins/nomad-backend/src/service/router.ts @@ -13,6 +13,8 @@ * See the License for the specific language governing permissions and * limitations under the License. */ + +import fetch from 'node-fetch'; import { errorHandler, requestLoggingHandler } from '@backstage/backend-common'; import { Config } from '@backstage/config'; import { InputError } from '@backstage/errors';