At the moment when a user is logged in and tries to volunteer for an event both the user_id and event_id in the event_volunteers table populate with NULL. Fix the volunteers post route so that the user_id and the event_id are correctly sent to the database function
At the moment when a user is logged in and tries to volunteer for an event both the user_id and event_id in the event_volunteers table populate with NULL. Fix the volunteers post route so that the user_id and the event_id are correctly sent to the database function