diff --git a/server/models/workspaceChats.js b/server/models/workspaceChats.js index 1dd205174..4fae46b9f 100644 --- a/server/models/workspaceChats.js +++ b/server/models/workspaceChats.js @@ -80,6 +80,7 @@ const WorkspaceChats = { where: { workspaceId, user_id: user?.id, + thread_id: null, // this function is now only used for the default thread on workspaces }, data: { include: false,