Support - Allow describe_cases without any params (#3818)

This commit is contained in:
Bert Blommers 2021-03-31 13:18:46 +01:00 committed by GitHub
commit ed22b24fd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 29 additions and 1 deletions

View file

@ -198,8 +198,9 @@ class SupportBackend(BaseBackend):
include_communications,
):
cases = []
requested_case_ids = case_id_list or self.cases.keys()
for case in case_id_list:
for case in requested_case_ids:
self.advance_case_status(case)
self.advance_case_severity_codes(case)
formatted_case = {