We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d1b164b commit ff3f99aCopy full SHA for ff3f99a
backend/sub/kb_document.go
@@ -71,7 +71,7 @@ func (k *KBDoc) handleInsert(ctx context.Context, kbID uint, docID uint) error {
71
doc, err := k.doc.GetByID(ctx, kbID, docID)
72
if err != nil {
73
logger.WithErr(err).Error("doc not found")
74
- return err
+ return nil
75
}
76
var content string
77
switch doc.DocType {
0 commit comments