chore: use grimmory for koreader device / device ID (#2026)
This commit is contained in:
@@ -25,6 +25,8 @@ import java.util.Map;
|
||||
@AllArgsConstructor
|
||||
@Service
|
||||
public class KoreaderService {
|
||||
private static final String DEFAULT_DEVICE_NAME = "Grimmory";
|
||||
private static final String DEFAULT_DEVICE_ID = "Grimmory";
|
||||
|
||||
private final UserBookProgressRepository progressRepository;
|
||||
private final UserBookFileProgressRepository fileProgressRepository;
|
||||
@@ -61,8 +63,8 @@ public class KoreaderService {
|
||||
.document(bookHash)
|
||||
.progress(progress.getKoreaderProgress())
|
||||
.percentage(progress.getKoreaderProgressPercent())
|
||||
.device("BookLore")
|
||||
.device_id("BookLore")
|
||||
.device(DEFAULT_DEVICE_NAME)
|
||||
.device_id(DEFAULT_DEVICE_ID)
|
||||
.build();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user