From 1c6707c4ba224fc17aa4b79303794744dcf3e698 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 7 Aug 2025 15:13:55 +0800 Subject: [PATCH] bugfix --- wwwroot/add_superuser.dspy | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wwwroot/add_superuser.dspy b/wwwroot/add_superuser.dspy index 4a56cd1..228d778 100644 --- a/wwwroot/add_superuser.dspy +++ b/wwwroot/add_superuser.dspy @@ -2,12 +2,12 @@ debug('/rbac/add_superuser.dspy') db = DBPools() dbname = get_module_dbname('rbac') async with db.sqlorContext(dbname) as sor: - ns = { + ns = DictObject(**{ "id": uuid(), "username":"superuser", "password":password_encode('111111'), "orgid":"0" - } + }) roles = [ { "orgtypeid":"owner",