Skip to content

Commit

Permalink
fix: base36 (#758)
Browse files Browse the repository at this point in the history
* fix: base36

* fix: quota
  • Loading branch information
mizy authored Jan 24, 2024
1 parent 0c7ac38 commit de0ec84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/api/studio/internal/service/llm/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import (
func hashString(s string) string {
h := fnv.New64a()
h.Write([]byte(s))
return strconv.FormatUint(h.Sum64(), 8)
return strconv.FormatUint(h.Sum64(), 36)
}
func (g *llmService) AddImportJob(req *types.LLMImportRequest) (resp *types.LLMResponse, err error) {
auth := g.ctx.Value(auth.CtxKeyUserInfo{}).(*auth.AuthData)
Expand Down

0 comments on commit de0ec84

Please sign in to comment.