add name of user to player route

This commit is contained in:
2023-04-20 11:35:38 +02:00
parent 924cd692ed
commit 01be7d8dd1
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -39,6 +39,7 @@ async function processGlobalStats() {
'total_distance'
),
'attacker_id',
sql<string>`last(attacker_name)`.as('attacker_name'),
'cause_of_death',
'map',
'game_mode',
@@ -62,6 +63,7 @@ async function processGlobalStats() {
count<number>('id').as('deaths'),
'victim_id',
'victim_current_weapon',
sql<string>`last(attacker_name)`.as('attacker_name'),
'map',
'game_mode',
'servername',