diff --git a/src/server/actions.ts b/src/server/actions.ts index 8553771..17c7d94 100644 --- a/src/server/actions.ts +++ b/src/server/actions.ts @@ -167,6 +167,7 @@ type AgentPayload = { message: any; conv_id: number; isAnswerToAgentQuestion: boolean; + userResponseToTeamId: number | null | undefined; }; export const getAgentResponse: GetAgentResponse = async ( diff --git a/src/server/webSocket.js b/src/server/webSocket.js index bc6b440..6127ba8 100644 --- a/src/server/webSocket.js +++ b/src/server/webSocket.js @@ -17,7 +17,6 @@ export const checkTeamStatusAndUpdateInDB = (io, context) => { conversations.length > 0 && conversations.forEach(async function (conversation) { - console.log(conversation.id); try { const payload = { team_id: conversation.team_id,