From 8f146f1aa875de0204b75d7c983253082a558645 Mon Sep 17 00:00:00 2001 From: Sam Ezeh Date: Fri, 9 Apr 2021 22:36:12 +0100 Subject: [PATCH] remove cls=self.decoder from response.json() call remove cls=self.decoder from response.json() call in parse() method --- berserk/formats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/berserk/formats.py b/berserk/formats.py index e915fd4..65b33d0 100644 --- a/berserk/formats.py +++ b/berserk/formats.py @@ -73,7 +73,7 @@ def parse(self, response): :return: response data :rtype: JSON """ - return response.json(cls=self.decoder) + return response.json() def parse_stream(self, response): """Yield the parsed data from a stream response.