Fix incorrect activity count in summaries #5

Open
kabupatix wants to merge 1 commit from kabupatix/summary-activity-count into main

View file

@ -39,7 +39,6 @@ public class ActivitySummaryService {
* Update summary for an activity's period. * Update summary for an activity's period.
* Called after an activity is saved. * Called after an activity is saved.
*/ */
@Async
@Transactional @Transactional
public void updateSummariesForActivity(Activity activity) { public void updateSummariesForActivity(Activity activity) {
if (activity.getUserId() == null || activity.getStartedAt() == null) { if (activity.getUserId() == null || activity.getStartedAt() == null) {