chore: tweak feature comments

This commit is contained in:
Steven
2025-08-18 23:10:33 +08:00
parent 260b451a5f
commit d5e7c50682
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -262,6 +262,7 @@ func (s *APIV1Service) GetShortcutAnalytics(ctx context.Context, request *v1pb.G
Type: store.ActivityShortcutView,
PayloadShortcutID: &shortcut.Id,
}
// For non-advanced analytics users, we limit the activity to the last 14 days.
if !s.LicenseService.IsFeatureEnabled(license.FeatureTypeAdvancedAnalytics) {
createdTsAfter := time.Now().AddDate(0, 0, -14).Unix()
activityFind.CreatedTsAfter = &createdTsAfter