force format=csv on therapytimeline2csv endpoint

This commit is contained in:
James Woglom
2021-03-06 02:16:44 -05:00
parent 058cdeea22
commit a35a71a04a
+1 -1
View File
@@ -46,7 +46,7 @@ class WS2Api:
startDate = parse_date(start)
endDate = parse_date(end)
req_text = self.get('therapytimeline2csv/%s/%s/%s' % (self.userGuid, startDate, endDate), {})
req_text = self.get('therapytimeline2csv/%s/%s/%s?format=csv' % (self.userGuid, startDate, endDate), {})
sections = self._split_empty_sections(req_text)