Move GetFeeds to service layer (#32526)

Move GetFeeds from models to service layer, no code change.
This commit is contained in:
Lunny Xiao 2024-11-29 09:53:49 -08:00 committed by GitHub
parent 93640993e3
commit 1ed5f379b9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 250 additions and 211 deletions

View file

@ -47,7 +47,7 @@ func getUserHeatmapData(ctx context.Context, user *user_model.User, team *organi
groupByName = groupBy
}
cond, err := activityQueryCondition(ctx, GetFeedsOptions{
cond, err := ActivityQueryCondition(ctx, GetFeedsOptions{
RequestedUser: user,
RequestedTeam: team,
Actor: doer,