Skip to content

Commit

Permalink
fix: list appeal filter for created by (#396)
Browse files Browse the repository at this point in the history
- created by was in list appeal filter was getting ignored
and should be fixed now

Signed-off-by: Kush Sharma <thekushsharma@gmail.com>
  • Loading branch information
kushsharma authored Nov 19, 2023
1 parent 24a5ad7 commit 575b7ab
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions api/handler/v1beta1/appeal.go
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ func (s *GRPCServer) ListAppeals(ctx context.Context, req *guardianv1beta1.ListA
Size: int(req.GetSize()),
Offset: int(req.GetOffset()),
OrderBy: req.GetOrderBy(),
CreatedBy: req.GetCreatedBy(),
}
appeals, total, err := s.listAppeals(ctx, filters)
if err != nil {
Expand Down
3 changes: 2 additions & 1 deletion cli/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import (
"context"
"errors"
"fmt"
"google.golang.org/grpc/metadata"
"time"

"google.golang.org/grpc/metadata"

guardianv1beta1 "github.com/raystack/guardian/api/proto/raystack/guardian/v1beta1"
"github.com/spf13/cobra"
"google.golang.org/grpc"
Expand Down

0 comments on commit 575b7ab

Please sign in to comment.