Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: remove check page token (#10829)

boojackaffbfcc72005
diff --git a/backend/api/v1/logging_service.go b/backend/api/v1/logging_service.go
index f0c17a0a23..e7149c8de2 100644
--- a/backend/api/v1/logging_service.go
+++ b/backend/api/v1/logging_service.go
@@ -75,9 +75,6 @@ func (s *LoggingService) ListLogs(ctx context.Context, request *v1pb.ListLogsReq
if err := unmarshalPageToken(request.PageToken, &pageToken); err != nil {
return nil, status.Errorf(codes.InvalidArgument, "invalid page token: %v", err)
}
- if pageToken.Limit != request.PageSize {
- return nil, status.Errorf(codes.InvalidArgument, "request page size does not match the page token")
- }
} else {
pageToken.Limit = request.PageSize
}