Archived
Add create-update post component.
This commit is contained in:
@@ -65,7 +65,7 @@ public class PostService {
|
||||
return result;
|
||||
}
|
||||
|
||||
public void update(final PostDTO pPost, final HttpServletRequest pRequest,
|
||||
public void update(final Post pPost, final HttpServletRequest pRequest,
|
||||
final HttpServletResponse pResponse, final Principal pPrincipal) throws IOException {
|
||||
final Optional<User> connectedUser = userService.getUserByPrincipal(pPrincipal);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user