Skip to content

Commit 2e22239

Browse files
committed
issue #237
1 parent aae2bb8 commit 2e22239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

curation-api/src/main/java/eu/clarin/cmdi/curation/api/cache/ProfileReportCache.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class ProfileReportCache {
2020
@Autowired
2121
CMDProfileProcessor processor;
2222

23-
@Cacheable(value = "publicProfileReportCache", key = "#profile.schemaLocation", condition = "'instance'.equals(@apiConfig.getMode())")
23+
@Cacheable(value = "publicProfileReportCache", key = "#profile.schemaLocation", condition = "!'instance'.equals(@apiConfig.getMode())")
2424
public CMDProfileReport getProfileReport(CMDProfile profile) {
2525

2626
return processor.process(profile);

0 commit comments

Comments
 (0)