monographs: fix monographs not appearing on clients

This commit is contained in:
Abdullah Atta
2025-08-18 23:43:41 +05:00
parent bf6cd6cd46
commit 2f361db9df

View File

@@ -201,7 +201,7 @@ namespace Notesnook.API.Controllers
var monographs = (await Monographs.Collection.FindAsync(
Builders<Monograph>.Filter.And(
Builders<Monograph>.Filter.Eq("UserId", userId),
Builders<Monograph>.Filter.Eq("Deleted", false)
Builders<Monograph>.Filter.Ne("Deleted", true)
)
, new FindOptions<Monograph, ObjectWithId>
{