fix: where assignedAt attribute gets updated

This commit is contained in:
abdou6666 2025-01-16 11:13:50 +01:00
parent 28a3ac68ab
commit c9870aa912

View File

@ -95,10 +95,10 @@ export class SubscriberRepository extends BaseRepository<
oldSubscriber,
!!subscriberUpdates?.assignedTo,
);
}
subscriberUpdates.assignedAt = new Date();
}
}
}
/**
* Constructs a query to find a subscriber by their foreign ID.