File tree Expand file tree Collapse file tree 2 files changed +6
-4
lines changed
Expand file tree Collapse file tree 2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -228,7 +228,9 @@ export default {
228228 const customSelId = interaction . values [ 0 ]
229229 const matchDataParts : string [ ] = customSelId . split ( '_' )
230230 const matchId = parseInt ( matchDataParts [ 1 ] )
231- console . log ( `Finishing vote for ${ matchId } , winner ${ winner } ` )
231+ console . log (
232+ `Finishing vote for match ${ matchId } , winner ${ winner } ` ,
233+ )
232234
233235 // Check if this match is Best of 3 or 5
234236 const matchDataObj = await getMatchData ( matchId )
@@ -284,7 +286,7 @@ export default {
284286 }
285287
286288 console . log (
287- `Winning team variable for ${ matchId } : ${ winningTeam } ` ,
289+ `Winning team variable for match ${ matchId } : ${ winningTeam } ` ,
288290 )
289291
290292 if ( winningTeam ) {
Original file line number Diff line number Diff line change @@ -618,12 +618,12 @@ export async function endMatch(
618618
619619 teamResults = await calculateNewMMR ( queueId , matchId , teamResultsData )
620620
621- console . log ( `${ matchId } results: ${ teamResults } ` )
621+ console . log ( `match ${ matchId } results: ${ teamResults } ` )
622622
623623 // Save elo_change and winstreak to database
624624 const updatePromises = teamResults . teams . flatMap ( ( team ) =>
625625 team . players . map ( async ( player ) => {
626- console . log ( `Team ${ team } player ${ player } in ${ matchId } ` )
626+ console . log ( `Team ${ team } player ${ player } in match ${ matchId } ` )
627627 // Update win streak
628628 await updatePlayerWinStreak ( player . user_id , queueId , team . score == 1 )
629629
You can’t perform that action at this time.
0 commit comments