Skip to content

Commit

Permalink
Merge pull request #230 from caxqueiroz/bug_fix_weaviate_client
Browse files Browse the repository at this point in the history
  • Loading branch information
tmc authored Aug 2, 2023
2 parents 8f10160 + 17bad1a commit 60a8095
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vectorstores/weaviate/weaviate.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ func New(opts ...Option) (Store, error) {
}
headers := make(map[string]string)
if s.apiKey != nil {
headers["Authorization"] = fmt.Sprintf("Authorization: Bearer %s", *s.apiKey)
headers["Authorization"] = fmt.Sprintf("Bearer %s", *s.apiKey)
}
s.client = weaviate.New(weaviate.Config{
Scheme: s.scheme,
Expand Down

0 comments on commit 60a8095

Please sign in to comment.