From ce8f9342de8c9c6b6fde8486d341f9ebe092df05 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 31 Mar 2026 22:02:56 +0800 Subject: [PATCH] fix(internal): return correct system_key in modules list --- app/api/internal_catalog.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/api/internal_catalog.py b/app/api/internal_catalog.py index abf4ad4..33d2148 100644 --- a/app/api/internal_catalog.py +++ b/app/api/internal_catalog.py @@ -36,7 +36,7 @@ def internal_list_modules( { "id": i.id, "module_key": i.module_key, - "system_key": i.module_key.split(".", 1)[0] if "." in i.module_key else None, + "system_key": i.system_key, "name": i.name, "status": i.status, }