From 6c21d9baefcf3b191646f4c5bc14bb21a5f5507d Mon Sep 17 00:00:00 2001 From: Rahul Jadhav Date: Sun, 28 Apr 2024 22:42:19 -0700 Subject: [PATCH] fixed json response Signed-off-by: Rahul Jadhav --- sast-job/sq-job.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sast-job/sq-job.py b/sast-job/sq-job.py index 3c5d5d7..71c5d01 100644 --- a/sast-job/sq-job.py +++ b/sast-job/sq-job.py @@ -231,7 +231,6 @@ def _build_issues_string(issues, auth_token, results, sonar_url, hotspots=False) success = True except Exception as e: time.sleep(5) - data = data.json() if "rule" in data: rule = data["rule"] if "name" in rule: