forked from akai/readest
fix(annotator): add page number in highlight export to Readwise (#3409)
This commit is contained in:
@@ -61,8 +61,8 @@ export class ReadwiseClient {
|
||||
source_type: 'readest',
|
||||
category: 'books',
|
||||
note: note.note || undefined,
|
||||
location: 0,
|
||||
location_type: 'none',
|
||||
location: note.page,
|
||||
location_type: 'page',
|
||||
highlighted_at: new Date(note.createdAt).toISOString(),
|
||||
highlight_url: `readest://annotation/${book.hash}/${note.id}`,
|
||||
color: note.color ? (READEST_TO_READWISE_COLOR[note.color] ?? 'yellow') : 'yellow',
|
||||
|
||||
Reference in New Issue
Block a user