Rename user info endpoint

This commit is contained in:
Ajay Ramachandran
2021-05-24 16:04:32 -04:00
parent 3f682d467d
commit 6a58a08781
2 changed files with 9 additions and 8 deletions

View File

@@ -112,6 +112,7 @@ function setupRoutes(app: Express) {
app.get('/api/getTotalStats', getTotalStats);
app.get('/api/getUserInfo', getUserInfo);
app.get('/api/userInfo', getUserInfo);
//send out a formatted time saved total
app.get('/api/getDaysSavedFormatted', getDaysSavedFormatted);