Skip to content

Commit

Permalink
chore: update socket
Browse files Browse the repository at this point in the history
  • Loading branch information
ynwd committed Nov 29, 2024
1 parent 5a2731e commit c5e2659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/socket/mod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export default function socketModule(s: Fastro) {
const connected = ctx.stores.get("connected");
console.log("connected", connected);
if (data.user) {
connected?.set(data.user, { data, socket }, DAY);
connected?.set(data.user, { data, socket });
}
}

Expand Down

0 comments on commit c5e2659

Please sign in to comment.