Fix home page design.
This commit is contained in:
@@ -24,17 +24,17 @@ public class AuthorEntity {
|
||||
private UUID id;
|
||||
@Column(nullable = false)
|
||||
private String pseudo;
|
||||
// private String illustrationId;
|
||||
private String photoId;
|
||||
|
||||
public AuthorEntity(Author author) {
|
||||
this(
|
||||
author.id(),
|
||||
author.name()
|
||||
// author.illustrationId()
|
||||
author.name(),
|
||||
author.photoId()
|
||||
);
|
||||
}
|
||||
|
||||
public Author toDomain() {
|
||||
return new Author(id, pseudo, "image");
|
||||
return new Author(id, pseudo, photoId);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user