Skip to content

Commit 1a73d14

Browse files
committed
fix: fixes koa example in playground
1 parent ea0a36d commit 1a73d14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

playground/backend/src/koa.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ app.use(async (ctx, next) => {
1717

1818
hocuspocus.handleConnection(
1919
ws,
20-
ctx.request,
20+
ctx.req,
2121
// additional data (optional)
2222
{
2323
user_id: 1234,

0 commit comments

Comments
 (0)