Skip to content

Commit

Permalink
Merge pull request #65 from moevm/back-fix-9
Browse files Browse the repository at this point in the history
Back fix 9
  • Loading branch information
AnjeZenda authored Dec 10, 2024
2 parents 336c65e + 73fcb53 commit ca9f43d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/internal/handlers/plants/get_plants_v1.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ func (h *Handler) GetPlantsV1(
filter.Page = req.Page
filter.Size = req.Size
filter.SortBy = req.Sort
filter.IsDesc = req.IsDesc
plants, count, err := h.storage.GetPlants(ctx, filter)
if err != nil {
return nil, status.Errorf(codes.Internal, "could not get plants. Error %v", err)
Expand Down

0 comments on commit ca9f43d

Please sign in to comment.