mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
ClientStatistics updatedAt
This commit is contained in:
@@ -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>) {
|
||||||
|
|||||||
Reference in New Issue
Block a user