Skip to content

Commit

Permalink
[bugfix] Clear. That. Cache!
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Oct 8, 2024
1 parent 9fbed01 commit aa74882
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions api/messages/messages_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
Expand Down

0 comments on commit aa74882

Please sign in to comment.