Skip to content

Commit

Permalink
[bugfix] clear cache on save
Browse files Browse the repository at this point in the history
  • Loading branch information
gregv committed Oct 11, 2024
1 parent 6926e02 commit bfdf4fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/messages/messages_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -2033,6 +2033,7 @@ def save_profile_metadata_old(propel_id, json):

# Clear cache for get_profile_metadata
get_profile_metadata_old.cache_clear()
get_user_by_id_old.cache_clear()

return Message(
"Saved Profile Metadata"
Expand Down

0 comments on commit bfdf4fa

Please sign in to comment.