diff --git a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java index 84cd138..f11cb80 100644 --- a/src/main/java/org/ntlab/nemophila/models/accounts/Account.java +++ b/src/main/java/org/ntlab/nemophila/models/accounts/Account.java @@ -86,8 +86,8 @@ } //投稿削除 - public void deletePost(Post post) { - posts.remove(post); + public void deletePost(String pid) { + posts.remove(pid); } //投稿数の取得 public int getPostsCount() {