Skip to content

Commit ff7ec2f

Browse files
committed
fix error in log messages
1 parent 0f5e116 commit ff7ec2f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

application/src/main/java/org/togetherjava/tjbot/features/help/HelpThreadArchivedListener.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private void changeStatusToArchive(Instant closedAt, long threadId) {
6666
.where(HELP_THREADS.CHANNEL_ID.eq(threadId))
6767
.execute());
6868

69-
logger.info("Thread with id: {}, updated to active in database", threadId);
69+
logger.info("Thread with id: {}, updated to archived in database", threadId);
7070
}
7171

7272
private void changeStatusToActive(long threadId) {
@@ -75,6 +75,6 @@ private void changeStatusToActive(long threadId) {
7575
.where(HELP_THREADS.CHANNEL_ID.eq(threadId))
7676
.execute());
7777

78-
logger.info("Thread with id: {}, updated to archive status in database", threadId);
78+
logger.info("Thread with id: {}, updated to active status in database", threadId);
7979
}
8080
}

0 commit comments

Comments
 (0)