toulouse-maelis: remove child payload check (#70851)
This commit is contained in:
parent
c2631bf672
commit
82136bbce6
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue