diff --git a/api/handler/v1beta1/appeal.go b/api/handler/v1beta1/appeal.go index 7439e31b6..463ceafb8 100644 --- a/api/handler/v1beta1/appeal.go +++ b/api/handler/v1beta1/appeal.go @@ -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 { diff --git a/cli/client.go b/cli/client.go index 28350bb0e..844e39b29 100644 --- a/cli/client.go +++ b/cli/client.go @@ -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"