diff --git a/api/src/chat/repositories/subscriber.repository.ts b/api/src/chat/repositories/subscriber.repository.ts index febb1d8f..41d4964d 100644 --- a/api/src/chat/repositories/subscriber.repository.ts +++ b/api/src/chat/repositories/subscriber.repository.ts @@ -95,8 +95,8 @@ export class SubscriberRepository extends BaseRepository< oldSubscriber, !!subscriberUpdates?.assignedTo, ); + subscriberUpdates.assignedAt = new Date(); } - subscriberUpdates.assignedAt = new Date(); } }