From e759cccb17716014f4690e6b1c7ce1279e8948cf Mon Sep 17 00:00:00 2001 From: Serghei Mihai Date: Wed, 30 Mar 2016 10:56:48 +0200 Subject: [PATCH 1/4] lingo: add trailing slash to history invoices endpoint --- combo/apps/lingo/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/combo/apps/lingo/models.py b/combo/apps/lingo/models.py index fc8fbfd..771ad13 100644 --- a/combo/apps/lingo/models.py +++ b/combo/apps/lingo/models.py @@ -119,7 +119,7 @@ class Regie(models.Model): mellon = context.get('request').session['mellon_session'] url = self.webservice_url + '/invoices/' if past: - url += 'history' + url += 'history/' items = requests.get(self.signed_url(context['request'], url, NameID=mellon['name_id_content'])).json() if items.get('data'): -- 2.8.0.rc3