Skip to content

Commit

Permalink
Merge pull request #205 from CPSSD/r/feed_fix
Browse files Browse the repository at this point in the history
Change globalId find to authorId
  • Loading branch information
SailSlick authored Nov 19, 2018
2 parents e9960c4 + 30a7d72 commit 1d3899d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion services/feed/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ func (s *server) GetUserFeed(ctx context.Context, r *pb.FeedRequest) (*pb.FeedRe
for _, f := range follows {
pr := &dbpb.PostsRequest{
RequestType: dbpb.PostsRequest_FIND,
Match: &dbpb.PostsEntry{GlobalId: f.Followed},
Match: &dbpb.PostsEntry{AuthorId: f.Followed},
}

ctx, cancel := context.WithTimeout(context.Background(), time.Second)
Expand Down

0 comments on commit 1d3899d

Please sign in to comment.