Skip to content

Commit

Permalink
Merge pull request #201 from amazing-compass/dev
Browse files Browse the repository at this point in the history
fix #200
  • Loading branch information
Maple-pro authored Aug 29, 2023
2 parents 93d7ac8 + 40735bc commit 1a1ea3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/services/relation/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ func (r RelationServiceImpl) GetFollowList(ctx context.Context, request *relatio
}
}

rFollowList, err := r.idList2UserList(ctx, followIdListInt, request.ActorId, logger, span)
rFollowList, err := r.idList2UserList(ctx, followIdListInt, request.UserId, logger, span)
if err != nil {
resp = &relation.FollowListResponse{
StatusCode: strings.UnableToGetFollowListErrorCode,
Expand Down Expand Up @@ -853,7 +853,7 @@ func (r RelationServiceImpl) GetFollowerList(ctx context.Context, request *relat
}
}

rFollowerList, err := r.idList2UserList(ctx, followerIdListInt, request.ActorId, logger, span)
rFollowerList, err := r.idList2UserList(ctx, followerIdListInt, request.UserId, logger, span)
if err != nil {
resp = &relation.FollowerListResponse{
StatusCode: strings.UnableToGetFollowerListErrorCode,
Expand Down

0 comments on commit 1a1ea3c

Please sign in to comment.