mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
fix labels and highlights were deleted when deleting items
This commit is contained in:
parent
8d5e6455e3
commit
16f72d6a74
2 changed files with 0 additions and 5 deletions
|
|
@ -672,10 +672,6 @@ export const setBookmarkArticleResolver = authorized<
|
|||
page.id,
|
||||
{
|
||||
state: ArticleSavingRequestStatus.Deleted,
|
||||
labels: [],
|
||||
highlights: [],
|
||||
readingProgressAnchorIndex: 0,
|
||||
readingProgressPercent: 0,
|
||||
},
|
||||
pageContext
|
||||
)
|
||||
|
|
|
|||
|
|
@ -765,7 +765,6 @@ describe('Article API', () => {
|
|||
await graphqlRequest(query, authToken).expect(200)
|
||||
const page = await getPageById(articleId)
|
||||
expect(page?.state).to.eql(ArticleSavingRequestStatus.Deleted)
|
||||
expect(page?.highlights).to.eql([])
|
||||
})
|
||||
})
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue