diff --git a/src/ORM/client-statistics/client-statistics.service.ts b/src/ORM/client-statistics/client-statistics.service.ts index d954f15..54846ec 100644 --- a/src/ORM/client-statistics/client-statistics.service.ts +++ b/src/ORM/client-statistics/client-statistics.service.ts @@ -23,7 +23,8 @@ export class ClientStatisticsService { await this.clientStatisticsRepository.update({ clientId: clientStatistic.clientId, time: clientStatistic.time }, { shares: clientStatistic.shares, - acceptedCount: clientStatistic.acceptedCount + acceptedCount: clientStatistic.acceptedCount, + updatedAt: new Date() }) } public async insert(clientStatistic: Partial) {