ClientStatistics updatedAt

This commit is contained in:
Ben Wilson
2024-02-18 12:21:52 -05:00
parent 5ead6c605b
commit 01adb0a997
@@ -23,7 +23,8 @@ export class ClientStatisticsService {
await this.clientStatisticsRepository.update({ clientId: clientStatistic.clientId, time: clientStatistic.time }, await this.clientStatisticsRepository.update({ clientId: clientStatistic.clientId, time: clientStatistic.time },
{ {
shares: clientStatistic.shares, shares: clientStatistic.shares,
acceptedCount: clientStatistic.acceptedCount acceptedCount: clientStatistic.acceptedCount,
updatedAt: new Date()
}) })
} }
public async insert(clientStatistic: Partial<ClientStatisticsEntity>) { public async insert(clientStatistic: Partial<ClientStatisticsEntity>) {