From eb723af5ce2787dd864c97d44767cbf9bc73076b Mon Sep 17 00:00:00 2001 From: Fabian Mastenbroek Date: Mon, 26 Oct 2020 23:09:37 +0100 Subject: Do not hardcode test ids inside tests --- api/opendc/util/rest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'api/opendc/util/rest.py') diff --git a/api/opendc/util/rest.py b/api/opendc/util/rest.py index abd2f3de..c9e98295 100644 --- a/api/opendc/util/rest.py +++ b/api/opendc/util/rest.py @@ -138,4 +138,4 @@ class Response: if self.content is not None: data['content'] = self.content - return json.dumps(data) + return json.dumps(data, default=str) -- cgit v1.2.3