Database Connection Update #4
@@ -34,7 +34,6 @@ export class AppController {
|
||||
|
||||
@Get('/stats/season/:id?')
|
||||
async getStats(@Param('id') id?: string): Promise<UserStatsResponse> {
|
||||
logger.info(`Got id ${id}`)
|
||||
return await this.databaseService
|
||||
.fetchStats(id)
|
||||
.catch(err => {
|
||||
|
||||
Reference in New Issue
Block a user