Skip to content

Commit 575b7ab

Browse files
authored
fix: list appeal filter for created by (#396)
- created by was in list appeal filter was getting ignored and should be fixed now Signed-off-by: Kush Sharma <[email protected]>
1 parent 24a5ad7 commit 575b7ab

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

api/handler/v1beta1/appeal.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ func (s *GRPCServer) ListAppeals(ctx context.Context, req *guardianv1beta1.ListA
7676
Size: int(req.GetSize()),
7777
Offset: int(req.GetOffset()),
7878
OrderBy: req.GetOrderBy(),
79+
CreatedBy: req.GetCreatedBy(),
7980
}
8081
appeals, total, err := s.listAppeals(ctx, filters)
8182
if err != nil {

cli/client.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,10 @@ import (
44
"context"
55
"errors"
66
"fmt"
7-
"google.golang.org/grpc/metadata"
87
"time"
98

9+
"google.golang.org/grpc/metadata"
10+
1011
guardianv1beta1 "github.com/raystack/guardian/api/proto/raystack/guardian/v1beta1"
1112
"github.com/spf13/cobra"
1213
"google.golang.org/grpc"

0 commit comments

Comments
 (0)