fix(internal): return correct system_key in modules list
This commit is contained in:
@@ -36,7 +36,7 @@ def internal_list_modules(
|
|||||||
{
|
{
|
||||||
"id": i.id,
|
"id": i.id,
|
||||||
"module_key": i.module_key,
|
"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,
|
"name": i.name,
|
||||||
"status": i.status,
|
"status": i.status,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user