lingo: add trailing slash to history invoices endpoint

This commit is contained in:
Serghei Mihai 2016-03-30 10:56:48 +02:00
parent e169f3bf34
commit f6494c0ef7
1 changed files with 1 additions and 1 deletions

View File

@ -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'):