Skip to content

Commit

Permalink
fix: inline cb handler
Browse files Browse the repository at this point in the history
  • Loading branch information
fulcanelly committed Nov 21, 2024
1 parent 1f7e8ac commit b95c54a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"bin": {
"setup": "./script.js"
},
"version": "0.2.10",
"version": "0.2.11",
"description": "",
"author": "",
"private": false,
Expand Down
2 changes: 1 addition & 1 deletion src/lib/inline-cb-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function createRedisInlineKeyboardHandler({
}

async function executeByUUID(uuid: string, ctx: ExtractContext<ActionCtx>, object: object) {
const data = await redis.get(`watermark:callbackquery:${uuid}`)
const data = await redis.get(`${projectName}:callbackquery:${uuid}`)
if (!data) {
return //TODO handler of unknown button
}
Expand Down

0 comments on commit b95c54a

Please sign in to comment.