del front and add auth
This commit is contained in:
@@ -11,6 +11,6 @@ public interface PostMapper {
|
||||
|
||||
Post toEntity(PostRequest request);
|
||||
|
||||
@Mapping(source = "user.email", target = "userEmail")
|
||||
@Mapping(source = "user.login", target = "userEmail")
|
||||
PostResponse toResponse(Post post);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user