mirror of
https://github.com/tiennm99/claude-status-webhook.git
synced 2026-04-17 17:21:05 +00:00
refactor: update bindings to match CF resource names
KV binding: claude_status, Queue binding: claude-status. Real KV namespace ID configured with remote flag.
This commit is contained in:
@@ -27,7 +27,7 @@ function getChatTarget(ctx) {
|
||||
*/
|
||||
export async function handleTelegramWebhook(c) {
|
||||
const bot = new Bot(c.env.BOT_TOKEN);
|
||||
const kv = c.env.CLAUDE_STATUS;
|
||||
const kv = c.env.claude_status;
|
||||
|
||||
bot.command("start", async (ctx) => {
|
||||
const { chatId, threadId } = getChatTarget(ctx);
|
||||
|
||||
Reference in New Issue
Block a user