File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export class BatchGetRow {
8383 }
8484
8585 if ( ! table . maxVersions && ! table . timeRange ) {
86- table . maxVersions = 1 ;
86+ p . maxVersions = 1 ;
8787 }
8888
8989 return p ;
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ export class GetRange {
7878 }
7979
8080 if ( ! options . maxVersions && ! options . timeRange ) {
81- options . maxVersions = 1 ;
81+ payload . maxVersions = 1 ;
8282 }
8383
8484 return ProtoGetRangeRequest . encode ( ProtoGetRangeRequest . create ( payload ) ) . finish ( ) ;
Original file line number Diff line number Diff line change @@ -72,7 +72,7 @@ export class GetRow {
7272 }
7373
7474 if ( ! options . maxVersions && ! options . timeRange ) {
75- options . maxVersions = 1 ;
75+ payload . maxVersions = 1 ;
7676 }
7777
7878 return ProtoGetRowRequest . encode ( ProtoGetRowRequest . create ( payload ) ) . finish ( ) ;
You can’t perform that action at this time.
0 commit comments