From 1dd056fdf2876946e5e1a90e975506b7c0412e7c Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 5 Apr 2025 09:20:38 +1100 Subject: [PATCH] Wrap values() call in list to fix type error (#9460) (#9461) (cherry picked from commit 721f56f36ea505a6ba0ab49315907aec00370520) Co-authored-by: Joe Rogers <1337joe@users.noreply.github.com> --- src/backend/InvenTree/common/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/InvenTree/common/api.py b/src/backend/InvenTree/common/api.py index ca33b208b6..e0d8277c9a 100644 --- a/src/backend/InvenTree/common/api.py +++ b/src/backend/InvenTree/common/api.py @@ -805,7 +805,7 @@ class IconList(ListAPI): def get_queryset(self): """Return a list of all available icon packages.""" - return get_icon_packs().values() + return list(get_icon_packs().values()) class SelectionListList(ListCreateAPI):