mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-19 23:52:11 +00:00
Fix issue where sync fails if using older sync backend
This commit is contained in:
parent
bf774106ff
commit
2884c0a6f4
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ export function bookmarkResponsesToEntries(responses: BookmarkResponse[]) {
|
|||
const entries = responses.map((bookmark) => {
|
||||
const item: BookmarkMediaItem = {
|
||||
...bookmark.meta,
|
||||
group: bookmark.group.length > 0 ? bookmark.group : undefined,
|
||||
group: bookmark.group?.length > 0 ? bookmark.group : undefined,
|
||||
favoriteEpisodes: bookmark.favoriteEpisodes,
|
||||
updatedAt: new Date(bookmark.updatedAt).getTime(),
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in a new issue