From 879600c950c2fdab7d492de9782f70ad04c7c5c9 Mon Sep 17 00:00:00 2001 From: Yiyang Xia Date: Wed, 25 Mar 2020 11:10:42 -0400 Subject: [PATCH] fix header --- itbit_api.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/itbit_api.py b/itbit_api.py index 38a35e6..bb9ebdc 100644 --- a/itbit_api.py +++ b/itbit_api.py @@ -159,8 +159,8 @@ def make_request(self, verb, url, body_dict): auth_headers = { 'Authorization': self.clientKey + ':' + signature.decode('utf8'), - 'X-Auth-Timestamp': timestamp, - 'X-Auth-Nonce': nonce, + 'X-Auth-Timestamp': str(timestamp), + 'X-Auth-Nonce': str(nonce), 'Content-Type': 'application/json' }