mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-04-17 13:21:01 +00:00
fix: rename KV binding to CLAUDE_STATUS and fix threadId nullish check
- Rename KV binding SUBSCRIBERS → CLAUDE_STATUS for consistent naming - Fix || null → ?? null to preserve threadId 0 (General topic) - Update KV namespace creation command in README
This commit is contained in:
@@ -50,7 +50,7 @@ npx wrangler login
|
||||
### 3. Create KV namespace and Queue
|
||||
|
||||
```bash
|
||||
npx wrangler kv namespace create SUBSCRIBERS
|
||||
npx wrangler kv namespace create claude-status
|
||||
npx wrangler queues create claude-status
|
||||
```
|
||||
|
||||
@@ -58,7 +58,7 @@ Copy the KV namespace ID from the output and update `wrangler.jsonc`:
|
||||
|
||||
```jsonc
|
||||
"kv_namespaces": [
|
||||
{ "binding": "SUBSCRIBERS", "id": "YOUR_KV_NAMESPACE_ID" }
|
||||
{ "binding": "CLAUDE_STATUS", "id": "YOUR_KV_NAMESPACE_ID" }
|
||||
]
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user