From 58f041f060bfff7511b03e4cb15247bba28d3c37 Mon Sep 17 00:00:00 2001 From: armsp Date: Tue, 1 Aug 2023 21:45:04 +0200 Subject: [PATCH] fixing table_name to collection_name for exporting --- src/components/Export.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Export.jsx b/src/components/Export.jsx index 72b9f89..8dbd993 100644 --- a/src/components/Export.jsx +++ b/src/components/Export.jsx @@ -17,7 +17,7 @@ export default function ExportButton({ disabled, tablename }) { // Make the API call to the "/export" endpoint const response = await fetch('https://aifuv2.eastus.azurecontainer.io/export?'+ new URLSearchParams({ - table_name: tablename}), { + collection_name: tablename}), { method: 'GET', });