feat(kobo): add subtitle to KoboBookMetadata (#1543)
This commit is contained in:
@@ -57,6 +57,9 @@ public class KoboBookMetadata {
|
||||
private String title;
|
||||
private String description;
|
||||
|
||||
@JsonInclude(JsonInclude.Include.NON_NULL)
|
||||
private String subtitle;
|
||||
|
||||
@Builder.Default
|
||||
private List<String> categories = List.of("00000000-0000-0000-0000-000000000001");
|
||||
|
||||
|
||||
@@ -406,6 +406,7 @@ public class KoboEntitlementService {
|
||||
.contributorRoles(Collections.emptyList())
|
||||
.entitlementId(String.valueOf(book.getId()))
|
||||
.title(metadata.getTitle())
|
||||
.subtitle(metadata.getSubtitle())
|
||||
.description(metadata.getDescription())
|
||||
.contributors(authors)
|
||||
.series(series)
|
||||
|
||||
Reference in New Issue
Block a user