In case the user is not logged in and uses this API for an ongoing hackathon, it shows that the team doesn't exist. Instead, it should show an empty array since the hackathon is ongoing, and no submissions should be displayed for now (except the user's team's submission in case the user is logged in).
Description
In case the user is not logged in and uses this API for an ongoing hackathon, it shows that the team doesn't exist. Instead, it should show an empty array since the hackathon is ongoing, and no submissions should be displayed for now (except the user's team's submission in case the user is logged in).
Expected Output:
[]
Steps to Reproduce
GET /hackathons/{id}/submissions/
with hackathon id = 2 (Ongoing Hackathon){ "detail": "Team does not exist!"}