Skip to content

Commit

Permalink
fix: csv columns names
Browse files Browse the repository at this point in the history
  • Loading branch information
almax07082005 committed Sep 12, 2024
1 parent e0e0c8b commit c45a507
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public void storeUsersToCSV() {
try {
FileWriter out = new FileWriter(tableFilename);
CSVFormat csvFormat = CSVFormat.DEFAULT.builder()
.setHeader("chatId", "username", "usersAmount")
.setHeader("chat ID", "Алиас", "Количество юзеров")
.build();
try (CSVPrinter printer = new CSVPrinter(out, csvFormat)) {
for (UserDTO user : users) {
Expand Down

0 comments on commit c45a507

Please sign in to comment.