Skip to content

Commit

Permalink
Putting { id:1 } projection back to identifiersQuery.
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickfuhrmann committed Jul 22, 2024
1 parent 95b512b commit 738df60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/providers/scicat-provider/dao/mongo-dao.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ export class MongoConnector {
reject("no db connection");
}
let Publication = this.db.collection(this.collectionName);
return Publication.find(filter).toArray() ;
return Publication.find(filter , { _id: 1 } ).toArray() ;
}

/**
Expand Down

0 comments on commit 738df60

Please sign in to comment.