Skip to content

Commit

Permalink
docs: avoid lambda in docs
Browse files Browse the repository at this point in the history
  • Loading branch information
karfau committed May 6, 2024
1 parent 9e7f405 commit 962247a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/s3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ need to add related tests
4. Define method to create session key from context

```ts
const getSessionKey = (ctx: MyContext) {
function getSessionKey (ctx: MyContext) {
// it could be user based
return `/chat/${ctx.from?.id ?? 0}/session.json`;
// or if group chats are relevant, it could be chat based
Expand Down

0 comments on commit 962247a

Please sign in to comment.