core: fix notes marked as conflicted wrongly

This commit is contained in:
Abdullah Atta
2024-05-15 12:34:23 +05:00
parent eac1750b1c
commit 6fcbde772c

View File

@@ -251,6 +251,7 @@ class Sync {
.selectFrom("content")
.select("noteId as id")
.where("conflicted", "is not", null)
.where("conflicted", "is not", false)
.$castTo<string | null>()
)
.set({ conflicted: true })