node-fetch

This commit is contained in:
Kar
2024-10-14 10:17:11 +05:30
parent da33f2ed43
commit 41c2ceb675
5 changed files with 3 additions and 94 deletions

View File

@@ -1,4 +1,5 @@
const aiFeedbackOnReport = async (req, res) => {
const fetch = require('node-fetch');
const url = process.env.AI_API_ENDOINT;
const api_key = process.env.AI_API_KEY;
const payload = {