Capitalize laser user's names

This commit is contained in:
Tanner Collin 2020-10-05 20:25:56 +00:00
parent 4afedefd89
commit 8454a8faf6

View File

@ -477,7 +477,7 @@ class StatsViewSet(viewsets.ViewSet, List):
name = request.data['name']
username = request.data.get('username', '')
username = username.split('.')[0]
username = username.split('.')[0].title()
track[name] = dict(time=time.time(), username=username)
cache.set('track', track)