nafis nibir il y a 6 ans
Parent
révision
78d4d5d92e

+ 0
- 7
src/main/java/com/ziplinegreen/vault/Service/PostService.java Voir le fichier

@@ -54,12 +54,5 @@ public class PostService {
54 54
         return new ResponseEntity<>(HttpStatus.OK);
55 55
     }
56 56
 
57
-
58
-//    public ResponseEntity<User> addpost(Long userId, Post post) {
59
-//        User user = findUserById(userId).getBody();
60
-//        List<Post> posts = user.getPosts();
61
-//        posts.add(post);
62
-//        return new ResponseEntity<>(userRepository.save(user), HttpStatus.OK);
63
-//    }
64 57
 }
65 58