Skip to content

Commit 1daafe7

Browse files
committed
fix fga pagination
1 parent 8c898a8 commit 1daafe7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/fga/utils/fga-paginatable.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import { Warning } from '../interfaces/warning.interface';
44
import { PaginationOptions } from '../../common/interfaces';
55

66
export class FgaPaginatable<T, P extends PaginationOptions = PaginationOptions> extends AutoPaginatable<T, P> {
7-
protected override list!: FGAList<T>;
7+
protected override list: FGAList<T>;
88

99
constructor(
1010
list: FGAList<T>,
1111
apiCall: (params: PaginationOptions) => Promise<FGAList<T>>,
1212
options?: P,
1313
) {
1414
super(list, apiCall, options);
15+
this.list = list;
1516
}
1617

1718
get warnings(): Warning[] | undefined {

0 commit comments

Comments
 (0)