Projet

Général

Profil

0001-agoraplus-typo-fix-in-child_id-parameter-19550.patch

Serghei Mihai (congés, retour 15/05), 19 octobre 2017 12:31

Télécharger (1,03 ko)

Voir les différences:

Subject: [PATCH] agoraplus: typo fix in child_id parameter (#19550)

 passerelle/contrib/agoraplus/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
passerelle/contrib/agoraplus/models.py
816 816
            return [normalize_school_enrollment(e) for e in enrollments]
817 817

  
818 818
    def get_periscol_enrollments(self, child_id, service_id=7, name_id=None, date=None):
819
        if name_id and not self.is_child_in_name_id_family(child, name_id):
819
        if name_id and not self.is_child_in_name_id_family(child_id, name_id):
820 820
            raise AgoraAPIError('child not in this family')
821 821

  
822 822
        url = 'children/%s/inscriptions_periscol/' % child_id
823
-