nafis nibir 6 年之前
父節點
當前提交
78d4d5d92e
共有 1 個檔案被更改,包括 0 行新增7 行删除
  1. 0
    7
      src/main/java/com/ziplinegreen/vault/Service/PostService.java

+ 0
- 7
src/main/java/com/ziplinegreen/vault/Service/PostService.java 查看文件

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