From 099604dd90f4d3b1b5320ee5a13b0ee6a9975735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nya=20=CE=9Elimu?= Date: Sat, 28 Sep 2024 22:45:20 +0700 Subject: [PATCH] Update ContributorCsvExportController.java https://github.com/elimu-ai/web3-wiki/issues/58 --- .../contributor/ContributorCsvExportController.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/ai/elimu/web/content/contributor/ContributorCsvExportController.java b/src/main/java/ai/elimu/web/content/contributor/ContributorCsvExportController.java index 7f69ee84a..7843fb3dc 100644 --- a/src/main/java/ai/elimu/web/content/contributor/ContributorCsvExportController.java +++ b/src/main/java/ai/elimu/web/content/contributor/ContributorCsvExportController.java @@ -61,8 +61,8 @@ public void handleRequest( CSVFormat csvFormat = CSVFormat.DEFAULT .withHeader( "ethereum_address", - "contributor_id", - "impact_percentage" + "impact_percentage", + "contributor_id" ); StringWriter stringWriter = new StringWriter(); CSVPrinter csvPrinter = new CSVPrinter(stringWriter, csvFormat); @@ -109,8 +109,8 @@ public void handleRequest( csvPrinter.printRecord( ethereumAddress, - contributor.getId(), - impactPercentage + impactPercentage, + contributor.getId() ); csvPrinter.flush();