Skip to content

Commit

Permalink
Merge branch 'main' into chore/correct-context
Browse files Browse the repository at this point in the history
  • Loading branch information
CommanderStorm authored Sep 19, 2023
2 parents b6bf027 + 714f403 commit c1401de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions client/localServer/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func canteenRatingTools(c pb.CampusClient, ctx context.Context) {
}

func queryDish(canteen string, dish string, c pb.CampusClient, ctx context.Context, imageShouldBeStored bool) {
res, err := c.GetDishRatings(ctx, &pb.DishRatingRequest{
res, err := c.GetDishRatings(ctx, &pb.GetDishRatingsRequest{
Dish: dish,
CanteenId: canteen,
Limit: 3,
Expand Down Expand Up @@ -130,7 +130,7 @@ func queryDish(canteen string, dish string, c pb.CampusClient, ctx context.Conte
}

func queryCanteen(s string, c pb.CampusClient, ctx context.Context, imageShouldBeStored bool) {
res, err := c.GetCanteenRatings(ctx, &pb.CanteenRatingRequest{
res, err := c.GetCanteenRatings(ctx, &pb.GetCanteenRatingsRequest{
CanteenId: s,
Limit: 3,
// From: timestamppb.New(time.Date(2022, 7, 8, 16, 0, 0, 0, time.Local)),
Expand Down

0 comments on commit c1401de

Please sign in to comment.