From 01adb0a997d1725996c531087878955b067bd3a3 Mon Sep 17 00:00:00 2001 From: Ben Wilson Date: Sun, 18 Feb 2024 12:21:52 -0500 Subject: [PATCH] ClientStatistics updatedAt --- src/ORM/client-statistics/client-statistics.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {