|
|
@@ -75,7 +75,7 @@ export class UsersAdminController {
|
|
|
public async getDatas(@Query() { apiUserId }) {
|
|
|
const apiNum = await this.usersService.getCount(Number(apiUserId), Role.Api)
|
|
|
const userNum = await this.usersService.getCount(Number(apiUserId), Role.User)
|
|
|
- const todayNum = await this.usersService.getCount(apiUserId, undefined, format(new Date(), 'yyyy-MM-dd'))
|
|
|
+ const todayNum = await this.usersService.getCount(Number(apiUserId), undefined, format(new Date(), 'yyyy-MM-dd'))
|
|
|
const week = await this.usersService.getWeekCount(Number(apiUserId))
|
|
|
return {
|
|
|
api: apiNum,
|