We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88527ff commit 6ebf804Copy full SHA for 6ebf804
1 file changed
src/index.ts
@@ -22,7 +22,7 @@ console.log("Creating search index deployment key");
22
23
await client.keys().create({
24
description: "Search index deployment key",
25
- actions: ["documents:upsert"],
+ actions: ["collections:*", "documents:*"],
26
collections: ["*"],
27
value: process.env.TYPESENSE_WRITE_API_KEY!,
28
}).catch(handleExistsError);
0 commit comments