diff --git a/server/models/workspaceChats.js b/server/models/workspaceChats.js index 1dd205174b666430bf16666836daf63c1a69f7cd..4fae46b9f98457a3215189be535d007264db6f6e 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,