When I used aggregate in my graphql resolver code, I just get null from my code. I followed many other examples, but just null is returned.
This is my resolve