Skip to content

Commit

Permalink
fixing table_name to collection_name for exporting
Browse files Browse the repository at this point in the history
  • Loading branch information
armsp committed Aug 1, 2023
1 parent 67b592a commit 58f041f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Export.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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',
});

Expand Down

0 comments on commit 58f041f

Please sign in to comment.