From a7b8a0abaeadc790aebd60dfebc02ee97d173f22 Mon Sep 17 00:00:00 2001 From: Liam Date: Fri, 27 Oct 2023 12:15:59 +0100 Subject: [PATCH] fuck u fetch --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 56c1ec1..8e4daca 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1,6 +1,6 @@ import { InfluxDB, Point } from "@influxdata/influxdb-client"; import * as dotenv from "dotenv"; -import fetch from "node-fetch"; +const fetch = require("node-fetch"); dotenv.config(); const INFLUXDB_URL = process.env.INFLUXDB_URL;