ADD directory sharding for permanent clips

This commit is contained in:
2025-07-12 19:12:25 +02:00
parent db9426ba1a
commit 3f5d325efd
3 changed files with 19 additions and 4 deletions

View File

@@ -72,7 +72,6 @@ public class ClipService {
return clipRepository.findByUser(user);
}
private User getUser() {
Authentication auth = SecurityContextHolder.getContext().getAuthentication();
if (auth != null && auth.isAuthenticated() && auth.getPrincipal() instanceof CustomOAuth2User oAuth2user) {