[Improvements] Fix the TODOs of api/event.js
What would you like to share?
Creating this improvement ticket to address the outstanding task mentioned in the api/event.js file.
The objective is to incorporate the necessary filters into the MongoDB query and fix the TODO.
// TODO remove and do with mongo query
.filter((event) => new Date(event.date.end) > new Date());
Additional information
No response
To reduce notifications, issues are locked until they are https://github.com/EddieHubCommunity/LinkFree/labels/%F0%9F%8F%81%20status%3A%20ready%20for%20dev and to be assigned. You can learn more in our contributing guide https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
Can you please assign this issue to me?
Thank you for your excitement to move the project forwards @raviraj-github but you already have an issue assigned to you, we only assign 1 issue at a time to people. Please request after the other issue assigned to you has been completed (merged), otherwise this blocks other people from contributing.
You can learn more in our contributing guide here https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md
Completely Agree!
Thank you for understanding. I have merged your PR, so I will assign this issue to you 👍