fix(web): user details (#18253)

fix(server, web): user details
This commit is contained in:
Daimolean 2025-05-13 19:55:58 +08:00 committed by GitHub
parent c0ad12f279
commit dccbe0b3ed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ export class UserAdminService extends BaseService {
}
async getStatistics(auth: AuthDto, id: string, dto: AssetStatsDto): Promise<AssetStatsResponseDto> {
const stats = await this.assetRepository.getStatistics(auth.user.id, dto);
const stats = await this.assetRepository.getStatistics(id, dto);
return mapStats(stats);
}