From aa74882d1c9b97b572576a9a9843fefa672e38ae Mon Sep 17 00:00:00 2001 From: Greg V Date: Mon, 7 Oct 2024 21:42:52 -0700 Subject: [PATCH] [bugfix] Clear. That. Cache! --- api/messages/messages_service.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/api/messages/messages_service.py b/api/messages/messages_service.py index 424fbc5..4099644 100644 --- a/api/messages/messages_service.py +++ b/api/messages/messages_service.py @@ -1119,6 +1119,8 @@ def single_add_volunteer(event_id, json, volunteer_type, propel_id): # Add the volunteer doc = db.collection('volunteers').add(json) + get_volunteer_by_event.cache_clear() + return Message( "Added Hackathon Volunteer" )