From ac5f6ed6800f5598aa6758b8cd4b0417d0df6af7 Mon Sep 17 00:00:00 2001 From: Kevin Puig <119972216+k-puig@users.noreply.github.com> Date: Sun, 28 Sep 2025 10:26:04 -0400 Subject: [PATCH] payload formatted --- concord-client/src/stores/voiceStore.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/concord-client/src/stores/voiceStore.ts b/concord-client/src/stores/voiceStore.ts index 6cc274c..f460446 100644 --- a/concord-client/src/stores/voiceStore.ts +++ b/concord-client/src/stores/voiceStore.ts @@ -1,6 +1,5 @@ import { create } from "zustand"; import { Socket } from "socket.io-client"; -import { BackendUser, User } from "@/types"; // --- TYPE DEFINITIONS --- @@ -262,9 +261,9 @@ export const useVoiceStore = create((set, get) => { // *** THE FIX: Send user credentials with the join request *** socket.emit("join-voicechannel", { - channelId, - userId, - token, + userId: userId, + userToken: token, + voiceChannelId: channelId, }); }, leaveChannel: () => {