From 8fa273ab5f85532cf9d2c55a6505a65d0005ab82 Mon Sep 17 00:00:00 2001 From: kshitijrajsharma Date: Fri, 9 Aug 2024 11:11:17 +0545 Subject: [PATCH] Fix up actions --- .github/workflows/Unit-Test.yml | 1 - API/tasks.py | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/Unit-Test.yml b/.github/workflows/Unit-Test.yml index f27ad4d6..51ed16d7 100644 --- a/.github/workflows/Unit-Test.yml +++ b/.github/workflows/Unit-Test.yml @@ -6,7 +6,6 @@ on: branches: - master - develop - - fix/tests pull_request: branches: - master diff --git a/API/tasks.py b/API/tasks.py index 9652992c..9d5295ee 100644 --- a/API/tasks.py +++ b/API/tasks.py @@ -71,8 +71,8 @@ def get_task_status( if task_result.status == "SUCCESS": task_response_result = task_result.result if task_result.state != "SUCCESS": - # task_response_result = "N/A" # TODO : Make sure no imp information is popping out outside of the API - task_response_result = str(task_result.info) + task_response_result = "N/A" # TODO : Make sure no imp information is popping out outside of the API + # task_response_result = str(task_result.info) result = { "id": task_id,