79159381

Date: 2024-11-05 13:59:27
Score: 0.5
Natty:
Report link

I believe you just missed the data property. When you retrieve data through an api call normally the response wrap with the data property, so changing your code like following should fix the issues:

 const result = await getDataToExport();
 const CSVData = getCSVColumnsData(result.data);
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Saidur Rahman