Skip to content

Commit

Permalink
test: fix bad prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
KnorpelSenf committed Nov 13, 2024
1 parent 3d39dcc commit 18f7a02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/convenience/session.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ describe("session", () => {
let ctx = { chatId: 42 } as C;
composer.use(
session({
prefix: "xyz",
prefix: "xyz-",
getSessionKey: (ctx) =>
ctx.chatId ? (ctx.chatId ** 2).toString() : undefined,
storage,
Expand Down

0 comments on commit 18f7a02

Please sign in to comment.