summaryrefslogtreecommitdiffstats
path: root/src/restRequest.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/restRequest.py')
-rw-r--r--src/restRequest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/restRequest.py b/src/restRequest.py
index c9d4881..9b26cb2 100644
--- a/src/restRequest.py
+++ b/src/restRequest.py
@@ -98,7 +98,7 @@ class restRequest:
if "id" in body:
self.id = json_param["id"]
- if "code" in body:
+ if "code" in json_param:
self.code = json_param["code"]
def getHeaderLine(self):