Skip to content
Snippets Groups Projects
Commit b25e976a authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Use correct key to evict cache entry on NewAnswerEvent

parent 04339da0
No related merge requests found
......@@ -80,7 +80,7 @@ public class CacheBuster implements ICacheBuster, NovaEventVisitor {
@Override
public void visit(LockQuestionsEvent lockQuestionsEvent) {}
@CacheEvict(value = "answers", key = "#event.Session")
@CacheEvict(value = "answers", key = "#event.Question")
@Override
public void visit(NewAnswerEvent event) {}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment