Skip to content

Commit 309a956

Browse files
committed
fix(search): update API key header from Authorization to X-API-Key for Airweave search tool
1 parent 6e2219a commit 309a956

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/sim/tools/airweave/search.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export const airweaveSearchTool: ToolConfig<AirweaveSearchParams, AirweaveSearch
6464
url: (params) => `https://api.airweave.ai/collections/${params.collectionId}/search`,
6565
method: 'POST',
6666
headers: (params) => ({
67-
Authorization: `Bearer ${params.apiKey}`,
67+
'X-API-Key': params.apiKey,
6868
'Content-Type': 'application/json',
6969
}),
7070
body: (params) => {

0 commit comments

Comments
 (0)