diff --git a/internal/sync/progress.go b/internal/sync/progress.go index e350e62..e67834c 100644 --- a/internal/sync/progress.go +++ b/internal/sync/progress.go @@ -14,9 +14,9 @@ type ProgressData struct { Chapter *int `json:"chapter,omitempty"` ChapterProgress *float64 `json:"chapter_progress,omitempty"` ViewportY *float64 `json:"viewport_y,omitempty"` - Page *int `int,omitempty"` - TotalPages *int `int,omitempty"` - PageY *int `int,omitempty"` + Page *int `json:"page,omitempty"` + TotalPages *int `json:"total_pages,omitempty"` + PageY *int `json:"page_y,omitempty"` Zoom *float64 `json:"zoom,omitempty"` ScrollX *float64 `json:"scroll_x,omitempty"` ScrollY *float64 `json:"scroll_y,omitempty"`