I am trying to use collection.aggregate in NodeJS and is coming back with a blank error.
This is what I have so far, which works in terminal directly with MongoDB
const something = await Collection.aggregate([{ '$match': { 'clientId': 80 }}]);
res.send(something)
I have tried this in the past and it did work and nothing has changed (my code file is probably 5 lines at this point)