Skip to content

Commit 970d708

Browse files
authored
Search for just any conversationSettings row (#1455)
1 parent 7e25ac0 commit 970d708

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/libs/conversations/src/repo/conversation.repo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export class ConversationRepository extends RepositoryBase<ConversationRepositor
4949
const id = generateUUIDv1()
5050

5151
const results = await this.db().oneOrNone(
52-
`select "autoPublish" from "conversationSettings" where "tenantId" = $(tenantId) and (enabled is null or enabled = true) limit 1`,
52+
`select "autoPublish" from "conversationSettings" where "tenantId" = $(tenantId) limit 1`,
5353
{
5454
tenantId,
5555
},

0 commit comments

Comments
 (0)