From eeeae8d3f76ab5bd5841e2a9dd6f421649b5f7f5 Mon Sep 17 00:00:00 2001 From: emesika Date: Mon, 24 Jul 2023 04:28:51 +0300 Subject: [PATCH] fix-issue-150 This patch fixes issue #150 changing work_item.py get_custom_fields method return code from : None to : cls._all_custom_fields, cls._required_fields Signed-off-by: Eli Mesika --- src/pylero/work_item.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pylero/work_item.py b/src/pylero/work_item.py index fd45561..b6c0c68 100644 --- a/src/pylero/work_item.py +++ b/src/pylero/work_item.py @@ -1468,7 +1468,7 @@ def get_custom_fields(cls, project_id): if cft.required: cls._required_fields.append(local_name) cls._got_custom_fields = True - return None + return cls._all_custom_fields, cls._required_fields @classmethod def query(