@@ -206,7 +206,7 @@ def _retrieve_klanten_for_bsn(self, user_bsn: str) -> list[Klant]:
206
206
params = {"subjectNatuurlijkPersoon__inpBsn" : user_bsn },
207
207
)
208
208
data = get_json_response (response )
209
- all_data = list (pagination_helper (self , data ))
209
+ all_data = list (pagination_helper (self . client , data ))
210
210
except (RequestException , ClientError ) as e :
211
211
logger .exception ("exception while making request" , exc_info = e )
212
212
return []
@@ -231,7 +231,7 @@ def _retrieve_klanten_for_kvk_or_rsin(
231
231
params = params ,
232
232
)
233
233
data = get_json_response (response )
234
- all_data = list (pagination_helper (self , data ))
234
+ all_data = list (pagination_helper (self . client , data ))
235
235
except (RequestException , ClientError ) as e :
236
236
logger .exception ("exception while making request" , exc_info = e )
237
237
return []
@@ -508,7 +508,7 @@ def retrieve_objectcontactmomenten_for_zaak(
508
508
"objectcontactmomenten" , params = {"object" : zaak .url }
509
509
)
510
510
data = get_json_response (response )
511
- all_data = list (pagination_helper (self , data ))
511
+ all_data = list (pagination_helper (self . client , data ))
512
512
except (RequestException , ClientError ) as exc :
513
513
logger .exception ("exception while making request" , exc_info = exc )
514
514
return []
@@ -538,7 +538,7 @@ def retrieve_objectcontactmomenten_for_contactmoment(
538
538
"objectcontactmomenten" , params = {"contactmoment" : contactmoment .url }
539
539
)
540
540
data = get_json_response (response )
541
- all_data = list (pagination_helper (self , data ))
541
+ all_data = list (pagination_helper (self . client , data ))
542
542
except (RequestException , ClientError ) as e :
543
543
logger .exception ("exception while making request" , exc_info = e )
544
544
return []
@@ -559,7 +559,7 @@ def retrieve_klantcontactmomenten_for_klant(
559
559
params = {"klant" : klant .url },
560
560
)
561
561
data = get_json_response (response )
562
- all_data = list (pagination_helper (self , data ))
562
+ all_data = list (pagination_helper (self . client , data ))
563
563
except (RequestException , ClientError ) as e :
564
564
logger .exception ("exception while making request" , exc_info = e )
565
565
return []
0 commit comments