From 8e3f32e7518641c934d1d39a04adb03966695905 Mon Sep 17 00:00:00 2001 From: ynwd <10122431+ynwd@users.noreply.github.com> Date: Fri, 29 Nov 2024 17:56:47 +0700 Subject: [PATCH] chore: update socket --- modules/socket/mod.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/socket/mod.ts b/modules/socket/mod.ts index b0b3be25..4c4d1e0f 100644 --- a/modules/socket/mod.ts +++ b/modules/socket/mod.ts @@ -58,6 +58,7 @@ export default function socketModule(s: Fastro) { data: Data, ) { const connected = ctx.stores.get("connected"); + console.log("connected", JSON.stringify(connected)); if (data.user) { connected?.set(data.user, { data, socket }, DAY); }