diff --git a/request-management-api/request_api/resources/dashboardpagination.py b/request-management-api/request_api/resources/dashboardpagination.py index 5f8270f5e..14f3ec77b 100644 --- a/request-management-api/request_api/resources/dashboardpagination.py +++ b/request-management-api/request_api/resources/dashboardpagination.py @@ -67,8 +67,9 @@ def get(queuetype = "all"): elif queuetype is not None and queuetype == "ministry" and AuthHelper.getusertype() == "ministry": requests = dashboardservice().getministryrequestqueuepagination(AuthHelper.getministrygroups(), _page, _size, _sortingitems, _sortingorders, _filterfields, _keyword, _additionalfilter, _userid) else: + print("statuscode401") statuscode = 401 return requests, statuscode except BusinessException as exception: - return {'status': exception.status_code, 'message':exception.message}, 500 \ No newline at end of file + return {'status': exception.status_code, 'message':exception.message}, 500