Skip to content

Commit

Permalink
Update ContributorCsvExportController.java
Browse files Browse the repository at this point in the history
  • Loading branch information
nya-elimu authored Sep 28, 2024
1 parent 31775f6 commit 099604d
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -109,8 +109,8 @@ public void handleRequest(

csvPrinter.printRecord(
ethereumAddress,
contributor.getId(),
impactPercentage
impactPercentage,
contributor.getId()
);

csvPrinter.flush();
Expand Down

0 comments on commit 099604d

Please sign in to comment.