From 15d5ce754b1824edbdd3cd6ad2385cfba4fe233c Mon Sep 17 00:00:00 2001 From: Jamie Hewitt Date: Wed, 6 Sep 2023 15:56:50 +0300 Subject: [PATCH] Fixing query param issue --- server/oceandbs/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server/oceandbs/views.py b/server/oceandbs/views.py index 051b6f2..4bd7e19 100644 --- a/server/oceandbs/views.py +++ b/server/oceandbs/views.py @@ -714,8 +714,8 @@ def get(self, request): 'page': page, 'pageSize': pageSize, 'userAddress': userAddress, - 'nonce': params['nonce'], - 'signature': params['signature'], + 'nonce': params['nonce'][0], + 'signature': params['signature'][0], } absolute_url = urljoin(storage.url, f'getHistory?{urlencode(query_params)}') response = requests.get(absolute_url)