From 9a3e40d953eebc4fe2a0fce90a37201d2f4e88cd Mon Sep 17 00:00:00 2001
From: "Someshwar, Rudra (PG/T - Comp Sci & Elec Eng)" <rs01922@surrey.ac.uk>
Date: Mon, 15 May 2023 13:49:39 +0000
Subject: [PATCH] Update file ec2_function.py

---
 ec2_function.py | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/ec2_function.py b/ec2_function.py
index 637a8cc..8138bb7 100644
--- a/ec2_function.py
+++ b/ec2_function.py
@@ -9,6 +9,8 @@ import sys
 
 request_body = sys.stdin.read()
 
+input_json = json.loads(request_body)
+
 minhistory = int(input_json['history'])
 shots = int(input_json['shots'])
 signaltype = str(input_json['signal_type'])
-- 
GitLab