@@ -88,10 +88,10 @@ void handleArchiveStatus(Instant closedAt, long id, JDA jda) {
88
88
if (threadChannel == null ) {
89
89
logger .info ("thread with id: {} no longer exists, marking archived in records" , id );
90
90
database .write (context -> context .update (HELP_THREADS )
91
- .set (HELP_THREADS .CLOSED_AT , closedAt )
92
- .set (HELP_THREADS .TICKET_STATUS , HelpSystemHelper .TicketStatus .ARCHIVED .val )
93
- .where (HELP_THREADS .CHANNEL_ID .eq (id ))
94
- .execute ());
91
+ .set (HELP_THREADS .CLOSED_AT , closedAt )
92
+ .set (HELP_THREADS .TICKET_STATUS , HelpSystemHelper .TicketStatus .ARCHIVED .val )
93
+ .where (HELP_THREADS .CHANNEL_ID .eq (id ))
94
+ .execute ());
95
95
return ;
96
96
}
97
97
@@ -100,12 +100,12 @@ void handleArchiveStatus(Instant closedAt, long id, JDA jda) {
100
100
int participantsExceptAuthor = threadChannel .getMemberCount () - 1 ;
101
101
102
102
database .write (context -> context .update (HELP_THREADS )
103
- .set (HELP_THREADS .CLOSED_AT , closedAt )
104
- .set (HELP_THREADS .TICKET_STATUS , HelpSystemHelper .TicketStatus .ARCHIVED .val )
105
- .set (HELP_THREADS .MESSAGE_COUNT , messageCount )
106
- .set (HELP_THREADS .PARTICIPANTS , participantsExceptAuthor )
107
- .where (HELP_THREADS .CHANNEL_ID .eq (threadId ))
108
- .execute ());
103
+ .set (HELP_THREADS .CLOSED_AT , closedAt )
104
+ .set (HELP_THREADS .TICKET_STATUS , HelpSystemHelper .TicketStatus .ARCHIVED .val )
105
+ .set (HELP_THREADS .MESSAGE_COUNT , messageCount )
106
+ .set (HELP_THREADS .PARTICIPANTS , participantsExceptAuthor )
107
+ .where (HELP_THREADS .CHANNEL_ID .eq (threadId ))
108
+ .execute ());
109
109
110
110
logger .info ("Thread with id: {}, updated to archived status in database" , threadId );
111
111
0 commit comments