Skip to content

Commit 6e4cd81

Browse files
committed
Authorization
1 parent c54e744 commit 6e4cd81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/store/vector/weaviate_wrapper.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1092,7 +1092,7 @@ func fetchCodeContentsBatch(ctx context.Context, cfg config.VectorStoreConf, cli
10921092
req.Header.Set("Content-Type", "application/json")
10931093
req.Header.Set("X-Costrict-Version", "v1.6.0")
10941094
if authorization != "" {
1095-
req.Header.Set("authorization", authorization)
1095+
req.Header.Set("Authorization", authorization)
10961096
}
10971097

10981098
// 发送HTTP POST请求

0 commit comments

Comments
 (0)