nafis nibir 6 years ago
parent
commit
78d4d5d92e
1 changed files with 0 additions and 7 deletions
  1. 0
    7
      src/main/java/com/ziplinegreen/vault/Service/PostService.java

+ 0
- 7
src/main/java/com/ziplinegreen/vault/Service/PostService.java View File

@@ -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