aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/activity
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-06-26 08:30:46 +0300
committerGravatar Vitaly Takmazov2023-06-26 09:37:31 +0300
commit714779c719894a07156964f66591352498a4597b (patch)
treed3140768b1000941d86f8768db3a0c16333151d1 /src/main/java/com/juick/www/api/activity
parent26ce11f610eff622c7949bdd4eeee75c5be9f3d9 (diff)
ActivityPub: cache all profile exception paths
Diffstat (limited to 'src/main/java/com/juick/www/api/activity')
-rw-r--r--src/main/java/com/juick/www/api/activity/Profile.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/main/java/com/juick/www/api/activity/Profile.java b/src/main/java/com/juick/www/api/activity/Profile.java
index 0a6726ee..aa8f0394 100644
--- a/src/main/java/com/juick/www/api/activity/Profile.java
+++ b/src/main/java/com/juick/www/api/activity/Profile.java
@@ -279,7 +279,6 @@ public class Profile {
(currentUrl, nextUrl) -> String.format("%s\n%s", currentUrl, nextUrl));
}
- @CacheEvict(cacheNames = "profiles", key = "{ #visitor.uri }")
@PostMapping(value = "/api/inbox", consumes = { Context.LD_JSON_MEDIA_TYPE, Context.ACTIVITY_MEDIA_TYPE,
Context.ACTIVITYSTREAMS_PROFILE_MEDIA_TYPE, MediaType.APPLICATION_JSON_VALUE })
public ResponseEntity<CommandResult> processInbox(@Parameter(hidden = true) User visitor, InputStream body)