Skip to content

Commit

Permalink
fix(): collection must start with a letter (#205)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunshinexcode authored Aug 14, 2024
1 parent de5d79c commit 69960ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/internal/http_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ func (s *HttpServer) handlerVectorDocumentUpload(c *gin.Context) {
}

// Generate collection
collection := fmt.Sprintf("%s_%d", gmd5.MustEncryptString(req.ChannelName), time.Now().UnixNano())
collection := fmt.Sprintf("a%s_%d", gmd5.MustEncryptString(req.ChannelName), time.Now().UnixNano())
fileName := filepath.Base(file.Filename)

// update worker
Expand Down

0 comments on commit 69960ca

Please sign in to comment.