From 44ea1398bdc522dbbfe44335f8196539571b2d8e Mon Sep 17 00:00:00 2001 From: AmruthVamshi Date: Tue, 7 Jan 2025 02:22:17 -0500 Subject: [PATCH] Fix: import node-fetch --- src/api/api.controller.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/api/api.controller.ts b/src/api/api.controller.ts index 7fd9d86..49cba09 100644 --- a/src/api/api.controller.ts +++ b/src/api/api.controller.ts @@ -47,6 +47,7 @@ import { TelemetryService } from 'src/telemetry/telemetry.service'; const CryptoJS = require('crypto-js'); import { InjectRedis } from '@nestjs-modules/ioredis'; import Redis from 'ioredis'; +import fetch from 'node-fetch'; CryptoJS.lib.WordArray.words;