Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:bug: fix createEncryptedNotebook returning null notebook #18034

Danielf2aa5c4ea782
diff --git a/kernel/api/notebook.go b/kernel/api/notebook.go
index 23e512123a..336e79f827 100644
--- a/kernel/api/notebook.go
+++ b/kernel/api/notebook.go
@@ -506,7 +506,7 @@ func createEncryptedNotebook(c *gin.Context) {
}
ret.Data = map[string]any{
- "notebook": model.Conf.Box(id),
+ "notebook": model.Conf.GetBox(id),
}
}