Projet

Général

Profil

0001-lingo-add-trailing-slash-to-history-invoices-endpoin.patch

Serghei Mihai, 31 mars 2016 10:24

Télécharger (969 octets)

Voir les différences:

Subject: [PATCH 1/5] lingo: add trailing slash to history invoices endpoint

 combo/apps/lingo/models.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
combo/apps/lingo/models.py
119 119
                mellon = context.get('request').session['mellon_session']
120 120
                url = self.webservice_url + '/invoices/'
121 121
                if past:
122
                    url += 'history'
122
                    url += 'history/'
123 123
                items = requests.get(self.signed_url(context['request'], url,
124 124
                            NameID=mellon['name_id_content'])).json()
125 125
                if items.get('data'):
126
-