From 6e6d44fc16633da40c8e38a00b22dd5ffedc46a1 Mon Sep 17 00:00:00 2001 From: Huda Joad Date: Sat, 25 Nov 2023 00:42:25 +0300 Subject: [PATCH] removed he as it is not really needed, just helpful, but gave runtime error --- netlify/functions/handleMetadata.js | 1 - 1 file changed, 1 deletion(-) diff --git a/netlify/functions/handleMetadata.js b/netlify/functions/handleMetadata.js index f261828..8499437 100644 --- a/netlify/functions/handleMetadata.js +++ b/netlify/functions/handleMetadata.js @@ -1,7 +1,6 @@ const fetch = require('node-fetch'); // Import for webscraping in fetchContentFromURL() import { OpenAIApi, Configuration } from 'openai'; // const { Configuration, OpenAIApi } = require('openai'); -import { he } from 'he'; // Function to fetch content from URL using a web scraping service async function fetchContentFromURL(url) {