mirror of
https://github.com/streetwriters/notesnook-sync-server.git
synced 2026-02-12 19:22:45 +00:00
monographs: Id -> _id
This commit is contained in:
@@ -102,7 +102,7 @@ namespace Notesnook.API.Controllers
|
||||
|
||||
var monographs = (await Monographs.Collection.FindAsync(Builders<Monograph>.Filter.Eq("UserId", userId), new FindOptions<Monograph, ObjectWithId>
|
||||
{
|
||||
Projection = Builders<Monograph>.Projection.Include("Id"),
|
||||
Projection = Builders<Monograph>.Projection.Include("_id"),
|
||||
})).ToEnumerable();
|
||||
return Ok(monographs.Select((m) => m.Id));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user