diff --git a/modules/socket/mod.ts b/modules/socket/mod.ts index 01d99a60..9097fc83 100644 --- a/modules/socket/mod.ts +++ b/modules/socket/mod.ts @@ -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 }); } }