@@ -417,6 +417,7 @@ export class OpenFgaClient extends BaseAPI {
417
417
const readRequest : ReadRequest = {
418
418
page_size : options . pageSize ,
419
419
continuation_token : options . continuationToken ,
420
+ consistency : options . consistency
420
421
} ;
421
422
if ( body . user || body . object || body . relation ) {
422
423
readRequest . tuple_key = body ;
@@ -580,7 +581,8 @@ export class OpenFgaClient extends BaseAPI {
580
581
} ,
581
582
context : body . context ,
582
583
contextual_tuples : { tuple_keys : body . contextualTuples || [ ] } ,
583
- authorization_model_id : this . getAuthorizationModelId ( options )
584
+ authorization_model_id : this . getAuthorizationModelId ( options ) ,
585
+ consistency : options . consistency
584
586
} , options ) ;
585
587
}
586
588
@@ -641,6 +643,7 @@ export class OpenFgaClient extends BaseAPI {
641
643
return this . api . expand ( this . getStoreId ( options ) ! , {
642
644
authorization_model_id : this . getAuthorizationModelId ( options ) ,
643
645
tuple_key : body ,
646
+ consistency : options . consistency
644
647
} , options ) ;
645
648
}
646
649
@@ -663,6 +666,7 @@ export class OpenFgaClient extends BaseAPI {
663
666
type : body . type ,
664
667
context : body . context ,
665
668
contextual_tuples : { tuple_keys : body . contextualTuples || [ ] } ,
669
+ consistency : options . consistency
666
670
} , options ) ;
667
671
}
668
672
@@ -721,6 +725,7 @@ export class OpenFgaClient extends BaseAPI {
721
725
user_filters : body . user_filters ,
722
726
context : body . context ,
723
727
contextual_tuples : body . contextualTuples || [ ] ,
728
+ consistency : options . consistency
724
729
} , options ) ;
725
730
}
726
731
0 commit comments