toulouse-maelis: remove child payload check (#70851)

This commit is contained in:
Nicolas Roche 2022-10-23 14:27:40 +02:00
parent c2631bf672
commit 82136bbce6
1 changed files with 0 additions and 2 deletions

View File

@ -296,8 +296,6 @@ class ToulouseMaelis(BaseResource, HTTPResource):
def assert_child_payload_in_referential(self, post_data, parent_keys=None):
keys = parent_keys or []
self.assert_post_data_in_referential('Sex', post_data, keys + ['sexe'])
for i in range(0, len(post_data.get('authorizedPersonList') or [])):
self.assert_person_payload_in_referential(post_data, keys + ['authorizedPersonList', i])
data = post_data
for key in keys: